- Plesk for Linux
- Plesk for Windows
Operations in WordPress Toolkit fail with the following error message:
WP-CLI command has not finished working in 60 seconds, so it was terminated. Usually this means that there are problems with WordPress installation itself, for example it could be infected with malware. Check the wp-config.php file of the installation for potential malware code.
The following message is received via email:
WordPress Toolkit was not able to finish running an operation on this site in 60 seconds, so the operation was terminated. This could mean that your WordPress installation might be infected with malware. Check the wp-config.php file of the installation for potential malware code or run an anti-virus scan. If you cannot find any traces of malware, try running the operation again later.
The default timeout of 60 seconds to skip suspicious or infected files of WordPress instances, is exceeded, which may happen by insufficient amount of CPU and RAM resources available or many files to be copied to the new instance.
Increase WordPress Toolkit default timeout value:
Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor
Add the following lines to the end of the text field and click Save:
wpCliTimeoutHeavy = 3600
wpCliTimeoutMedium = 600
wpCliTimeoutRegular = 600
wpCliTimeoutMaintenanceTimeout = 360
In case the issue persists, scan and remove malware from the WordPress instance with an antivirus software.
Please sign in to leave a comment.