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

Declaration of TGM_Bulk_Installer_Skin::before() must be compatible with Bulk_Upgrader_Skin::before($title = '') and other php warnings #814

Closed CyberDomovoy closed 2 years ago

CyberDomovoy commented 2 years ago

I get the following errors in the log when trying to activate a plugin:

PHP Fatal error:  Declaration of TGM_Bulk_Installer_Skin::before() must be compatible with Bulk_Upgrader_Skin::before($title = '') in /var/www/html/wp-content/themes/errlock/deps/TGMPA/tgm-plugin-activation/class-tgm-plugin-activation.php on line 1972
PHP Warning:  Undefined array key "required" in /var/www/html/wp-content/themes/errlock/deps/TGMPA/tgm-plugin-activation/class-tgm-plugin-activation.php on line 612
PHP Warning:  Undefined array key "nag_type" in /var/www/html/wp-content/themes/errlock/deps/TGMPA/tgm-plugin-activation/class-tgm-plugin-activation.php on line 711
CyberDomovoy commented 2 years ago

Nevermind, thought i was using develop, i was still on v2.3.4.

This seems to be fixed in develop