• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

PHP warnings during plugin updates

Denis Gomes Franco

Regular Pleskian
Lately I've been getting these warnings when updating a manually uploaded plugin:

Installation "xxx": An error occurred when installing the "xxx" plugin on the website with the ID xx:

PHP Warning: Declaration of WP_CLI\UpgraderSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php on line 59

Warning: Declaration of WP_CLI\UpgraderSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php on line 59

Descompactando o pacote... Instalando o plugin... Removendo a versão antiga do plugin... Plugin atualizado com sucesso. Success: Installed 1 of 1 plugins.


The plugin is then installed successfully but it is not activated on the selected sites.

Also, it doesn't seem that after this operation the plugin list gets updated, eg., I have to force a manual scan for updates in order to see the results of this operation.
 
Yes, I did this from the Wordpress toolkit, that's why I posted it in this forum. And this was not an 'unexpected error' error, please reread my message. Looks like the Plesk team will need to do some upgrading on the toolkit.

Also, PHP 7.3 here.
 
Hey guys,

This bug is fixed in the upcoming 4.4.0 version of WPT. We hope to release this version very soon. Issue ID for reference: EXTWPTOOLK-3938. Stay tuned for the announcements!
 
We're seeing similar error messages at random during the overnight WP Toolkit maintenance run:

Code:
Website xxx: Unable to update plugin 'contact-form-7_5.1.5_1_', details: PHP Warning: Declaration of WP_CLI\UpgraderSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php on line 59
Warning: Declaration of WP_CLI\UpgraderSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php on line 59
Enabling Maintenance mode...
Downloading update from https://downloads.wordpress.org/plugin/contact-form-7.5.1.6.zip...
Unpacking the update...
Installing the latest version...
Removing the old version of the plugin...
Plugin updated successfully.
Disabling Maintenance mode...
name old_version new_version status
contact-form-7 5.1.5 5.1.6 Updated
Success: Updated 1 of 1 plugins.

Yet, there's several instances of Contact Form 7 that are updated successfully right after this message in the email.

For the past week, WP Toolkit was complaining about a theme (I've seen this type of error message more than a few times in the past):

Code:
Website xxx: Unable to update theme 'Avada_6.1.2_1_', details: PHP Warning: Declaration of WP_CLI\UpgraderSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php on line 59
Warning: Declaration of WP_CLI\UpgraderSkin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php on line 59
Warning: The package could not be installed. "PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature"
Downloading update from xxx/wp-admin/admin.php?page=avada&deferred_download=1&item_id=2833226...
Using cached file '/var/www/vhosts/xxx/.wp-cli/cache/theme/Avada-6.1.2.php'...
Unpacking the update...
name old_version new_version status
Avada 6.1.2 6.1.2 Error
Success: Theme already updated.

Plesk Obsidian Version 18.0.21 Update #3
WordPress Toolkit Version 4.3.4-2520
WordPress 5.3
PHP v7.3.12
 
works thanks. i still have an update notification on my plugins page, but the main update circle notification is gone :)
 
Back
Top