0

I just downloaded a new version of WordPress 4.5.2 and started developing a theme but when I transferred it to the live I cannot upload images on the Post's featured thumbnail same as well on the Media Library.

When I try to upload an image on the Post's featured thumbnail I always got this error:

enter image description here

I have changed the file permission to 777 on /wp-content/uploads/, switch themes and disabled plugins but it still not working.

Any ideas from you guys would be great!

Thanks in advance.

4

1 回答 1

0

此问题可能有 1 个以上的原因。

  1. 检查您的文件大小并检查是否太多,内存无法处理
  2. 在最近的更新中,许多主题已被破坏。您可以切换到默认主题一段时间,并在清除缓存后检查问题是否已解决。
  3. 您已经尝试过的权限问题。(建议:出于安全考虑,使用 755 而不是 777)
  4. 如果您的问题仍然存在,请添加 define('WP_DEBUG', true ); 到您的 wp-config.php 文件并打开您的控制台。如果有任何服务器端错误,您将直接在屏幕上得到它,如果是控制台中的 ajax。
于 2016-05-11T05:30:47.447 回答