You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install more than on plugins it gets stuck on this page for a long time.
It just installs one plugin at once even though via bulk installation. We need to redo this step again and again until everything is installed. Is there issue in the tgm or the way I've setup? Here's my setup in my child theme's function.php:
`<?php
require_once get_template_directory() . '/lib/class-tgm-plugin-activation.php';
add_action('tgmpa_register', 'ion_register_required_plugins');
function ion_register_required_plugins()
{
$plugins = [
[
'name' => 'Elementor',
'slug' => 'elementor',
'required' => true,
],
[
'name' => 'Better Search Replace',
'slug' => 'better-search-replace',
'required' => true,
],
[
'name' => 'Wordfence Security',
'slug' => 'wordfence',
'required' => true,
],
[
'name' => 'WP Mail SMTP',
'slug' => 'wp-mail-smtp',
'required' => true,
],
[
'name' => 'WP 2FA (by Melapress)',
'slug' => 'wp-2fa',
'required' => true,
],
[
'name' => 'Yoast SEO',
'slug' => 'wordpress-seo',
'required' => true,
],
];
$config = [
'id' => 'ion', // Unique ID for hashing notices for multiple instances of TGMPA.
'default_path' => '', // Default absolute path to bundled plugins.
'menu' => 'tgmpa-install-plugins', // Menu slug.
'has_notices' => true, // Show admin notices or not.
'dismissable' => true, // If false, a user cannot dismiss the nag message.
'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag.
'is_automatic' => true, // Automatically activate plugins after installation or not.
'message' => '', // Message to output right before the plugins table.
];
tgmpa($plugins, $config);
}
?>
`
The text was updated successfully, but these errors were encountered:
PHP Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in ……/public_html/wp-admin/includes/class-bulk-upgrader-skin.php:208
Stack trace:
I am trying to install more than on plugins it gets stuck on this page for a long time.
It just installs one plugin at once even though via bulk installation. We need to redo this step again and again until everything is installed. Is there issue in the tgm or the way I've setup? Here's my setup in my child theme's function.php:
`<?php
?>
`
The text was updated successfully, but these errors were encountered: