TGMPA / TGM-Plugin-Activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
http://tgmpluginactivation.com/
GNU General Public License v2.0
1.75k stars 431 forks source link

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

Closed jemyka closed 1 month ago

jemyka commented 2 years ago

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

clemensmol commented 1 year ago

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.

tbajorek-tomedio commented 2 months ago

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.

jrfnl commented 1 month ago

Closing as duplicate of https://github.com/TGMPA/TGM-Plugin-Activation/issues/669 which was fixed by PR https://github.com/TGMPA/TGM-Plugin-Activation/pull/670.