- Plesk Onyx 17.8 for Linux
A WordPress instance stopped working, only white screen is shown
/var/log/plesk/panel.logthe following error can be found:
CONFIG_TEXT: ERR [extension/wp-toolkit] WP-CLI command has not finished working in 60 seconds, so it was terminated. Usually this means that there are problems with WordPress instance #42 itself, for example it could be infected with malware. Check the wp-config.php file of the instance for potential malware code.
- The following warning is observed:
CONFIG_TEXT: Instance (https://exameple.com): PHP Warning: Declaration of WP_CLI\CoreUpgrader::download_package($package) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false) in /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/vendor/wp-cli/core-command/src/WP_CLI/CoreUpgrader.php on line 91
The issue occurred after an automatic update from WordPress 5.1.1 to WordPress 5.2;
When rolled back to version 5.1.1 instance is working.
- #EXTWPTOOLK-2925 "Major WordPress autoupdates no longer fail due to timeout."
- WordPress Toolkit 4.1.0 30 May 2019
If update is not possible for some reason you may try the following
Follow the article to be notified when the bug is fixed - the article will be updated.
Until the issue is resolved, the following workaround can be applied:
Restore the WordPress instance from a backup;
panel.iniand disable the timeout for WordPress CLI by appending following line:
Connect to the server via SSH;
Re-run auto-update by running the following command:
# /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/wp-toolkit/scripts/instances-auto-update.php'