• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

WordPress Toolkit uninstall fails with PHP fatal error

Hangover2

Regular Pleskian
Username:

TITLE

WordPress Toolkit uninstall fails with PHP fatal error

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.46 #Update 1, Debian 10.12, x86-64

PROBLEM DESCRIPTION

WordPress Toolkit uninstall fails with PHP fatal error.

STEPS TO REPRODUCE

- install WordPress Toolkit
- uninstall WordPress Toolkit

ACTUAL RESULT

Code:
Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Removing the package WordPress Toolkit
Launching component and product checkers...
Downloading file report-update: 0%
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.46_9656/examiners/py_launcher.sh: 0%
Downloading file pool/PSA_18.0.46_9656/examiners/py_launcher.sh: 100% was finished.
Error: Failed to uninstall the extension 'WordPress Toolkit' (package: wp-toolkit):
PHP Fatal error: Uncaught Error: Class 'PleskExt\WpToolkit\EventDispatcher' not found in /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php:38
Stack trace:
#0 /opt/psa/admin/plib/modules/wp-toolkit/library/Application/Plesk/PleskApplication.php(46): PleskExt\WpToolkit\Application\BaseApplication->shutdown()
#1 /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php(26): PleskExt\WpToolkit\Application\Plesk\PleskApplication->shutdown()
#2 [internal function]: PleskExt\WpToolkit\Application\BaseApplication->PleskExt\WpToolkit\Application\{closure}()
#3 {main}
thrown in /opt/psa/admin/plib/modules/wp-toolkit/library/Application/BaseApplication.php on line 38

Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
Visit https://support.plesk.com/ to search for a solution.

EXPECTED RESULT

Uninstall of WordPress Toolkit without errors.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
It is known issue EXTWPTOOLK-8103
The error can be ignored as the extension is removed from the server.
 
Back
Top