TGMPA/TGM-Plugin-Activation

Warning: sprintf(): Too few arguments in \wp-admin\includes\class-bulk-upgrader-skin.php on line 156

Closed this issue · 3 comments

Hello,

Please help I am getting this errors when installing the plugins included on Transpix - Logistics Warehouse WordPress Theme
Note: New WordPress installation (WP Version 5.9)

Attached is the error am getting and the error file number 156.
Install-Required-Plugins-—-WordPress
class-bulk-upgrader-skin

You could try running your website using a version lower than PHP 8. If the theme isn't compatible with PHP8 report it at the theme developer.

This is warning, not exception, so seems @jemyka uses PHP<8. In PHP8+ instead of reporting a warning, PHP throws an exception in the case when there are less parameters passed than expected.
I have similar issue with Kivicare Wordpress template. In my case I see they added old version of TGMPA plugin to theme. You can find it and try to replace by current version from this repository. It may work, but maybe your theme is incompatible with PHP8 in more places.
So I also would like to advice you to contact with author of your theme to tell about this issue. It's for sure not related to this repository, but to your theme.

Closing as duplicate of #669 which was fixed by PR #670.