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.
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
I get the following errors in the log when trying to activate a plugin: