$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>updates - wp-admin pages return ERR_EMPTY_RESPONSE|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

updates - wp-admin pages return ERR_EMPTY_RESPONSE

matteradmin11PV0评论

update-core.php, update.php, and options-general.php no longer work.

index.php, profile.php, plugins.php, upload.php, etc all still seem to work

I have tried deactivating every plugin and reverting my theme to the default, but that didn't work.

I downloaded a fresh copy of 4.9.2, and used my current wp-config.php with it, but the pages still did not work.

I can activate and deactivate plugins, change the appearance of pages and content, but I cannot update or delete any plugins.

WP_DEBUG and WP_DEBUG_LOG didn't reveal anything.

What steps can I take to troubleshoot this? Is something in the SQL database corrupted?

update-core.php, update.php, and options-general.php no longer work.

index.php, profile.php, plugins.php, upload.php, etc all still seem to work

I have tried deactivating every plugin and reverting my theme to the default, but that didn't work.

I downloaded a fresh copy of 4.9.2, and used my current wp-config.php with it, but the pages still did not work.

I can activate and deactivate plugins, change the appearance of pages and content, but I cannot update or delete any plugins.

WP_DEBUG and WP_DEBUG_LOG didn't reveal anything.

What steps can I take to troubleshoot this? Is something in the SQL database corrupted?

Share Improve this question asked Jan 25, 2018 at 2:08 JeffreyJeffrey 1741 gold badge2 silver badges10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 4

https://core.trac.wordpress/ticket/42345

After a lot of digging and following segfaults in strace and parsing out apache core dumps (and enlisting some outside help from a much more knowledgeable Linux guy) I dug this up on Wordpress's site.

The short answer to the problem is that there is an issue with PHP5 and libssh2 that was introduced in an update a few months ago. There is no actual fix for it, but it can be effectively worked around by installing this plugin: https://wordpress/plugins/ssh-sftp-updater-support/

It worked like a charm for me; all my users can log in normally and I can once again update plugins and WP Core through the GUI.

Hope this works for you, and others!

Post a comment

comment list (0)

  1. No comments so far