• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Wordpress Core update issue

thinkingcap

Basic Pleskian
I get this warning when upgrading Wordpress Core via the GUI.
On 17.8.11 Plesk and 4.1.0-1971 of the toolkit.


Code:
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 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 Updating to version 5.2.2 (en_AU)... Downloading update from https://downloads.wordpress.org/release/en_AU/wordpress-5.2.2.zip... Unpacking the update... Success: WordPress updated successfully.
 
Wordpress Core gets updated, you just get "Selected items were updated with errors:" notice so clients panic a bit.
 
Thank you for feedback! We confirmed an issue EXTWPTOOLK-3040: updating WordPress from v5.2.1 generate the error message you mentioned.

Actually, upgrade procedure succeed, but a warning message, generated on it, assumed by WordPress Toolkit as an error and thus displayed in a such unpleasant manner.

We appologize for inconvinience and already working on it. We plan to publish a fix as soon as we can.
 
We have released a small WPT 4.1.1 update which should fix the WordPress Core update issue. Let us know if the problem still persists. Thanks!
 
Back
Top