Applicable to:
- Plesk for Linux
Symptoms
-
Plesk migration or execution of the
plesk repair web
command fails with the following error message:CONFIG_TEXT: Details: PHP Fatal error: Uncaught Error: Class
'GuzzleHttp\Promise\Create' not found in
/opt/psa/admin/plib/modules/<extension>/vendor/guzzlehttp/promises/src/functions.php:55 -
Despite WordPress being installed on a subscription, WordPress-related options like Log in; Check Security; Plugins; Themes; Clone; Copy Data are not available at Plesk > Subscriptions > example.com; instead an option to Install WordPress is displayed.
Cause
This is a WordPress Toolkit bug with ID EXTWPTOOLK-8246, which was fixed in WordPress Toolkit version 5.7.2.
Resolution
-
Connect to the Plesk server via SSH.
-
Reinstall the Plesk extension which is mentioned in the error message. For ie, if the error was:
CONFIG_TEXT: Details: PHP Fatal error: Uncaught Error: Class
'GuzzleHttp\Promise\Create' not found in
/opt/psa/admin/plib/modules/nodejs/vendor/guzzlehttp/promises/src/functions.php:55Reinstall the nodejs extension, as seen above:
# plesk bin extension --uninstall nodejs
# plesk bin extension --install nodejs
It's also possible just copy missed files to affected extension directory:
# cp /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/guzzlehttp/promises/src/Create.php /usr/local/psa/admin/plib/modules/spamexperts-extension/library/vendor/guzzlehttp/promises/src/Create.php
# cp /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/guzzlehttp/promises/src/Utils.php /usr/local/psa/admin/plib/modules/spamexperts-extension/library/vendor/guzzlehttp/promises/src/Utils.php
Comments
1 comment
I had the same error trying to restore a backup. Reinstalling nodejs resolved the issue
Please sign in to leave a comment.