简体   繁体   中英

Error 500 on wordpress update and plugin pages

I can't understand how to save an issue on a hosted worpdress installation. My current wordpress version is 4.7 installed on linux hosting with mysql db. Every time I access either wordpress update page or plugin update page I get a 500 error.

With some debugging I've narrowed down the issue to the file admin.php and precisely line 329:

do_action( "load-{$pagenow}" );

I really can't figure out what the problem is!

In your wp-config.php if you enable debugging (just find WP_DEBUG and set it to true)

define('WP_DEBUG', true);

Then you should be able to see the error. If not, there would be error logs on your cpanel where you can see the errors. Also look for files named 'error_log' inside your WordPress installation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM