Theme activation
Activating the theme I encountered the following error:
Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in ***/wp-includes/widgets.php:1265 Stack trace: #0 ***/wp-includes/widgets.php(1265): array_merge() #1 ***/wp-includes/widgets.php(1220): retrieve_widgets() #2 ***/wp-includes/class-wp-hook.php(289): _wp_sidebars_changed() #3 ***/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #4 ***/wp-includes/plugin.php(478): WP_Hook->do_action() #5 ***/wp-includes/theme.php(3267): do_action() #6 ***/wp-includes/class-wp-hook.php(287): check_theme_switched() #7 ***/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #8 ***/wp-includes/plugin.php(478): WP_Hook->do_action() #9 ***/wp-settings.php(546): do_action() #10 ***/wp-config.php(90): require_once('...') #11 ***/wp-load.php(37): require_once('...') #12 ***/wp-blog-header.php(13): require_once('...') #13 ***/index.php(17): require('...') #14 {main} thrown in ***/wp-includes/widgets.php on line 1265
A critical error has occurred on your website.
Comments
Hello,
Can you tell me the version of your WP, PHP and BeTheme that you installed?
Also, can you disable all of the plugins before activating the theme?
thanks
Hello,
the version of WordPress is 5.5.3, PHP is 8.0.0RC3, BeTheme is the last available from ThemeForest, 21.9.4.
No, i cannot disable plugins because the error doesn't allow me to do any action. (before trying to activate the theme I had only one plugin active: https://it.wordpress.org/plugins/cmp-coming-soon-maintenance)
I also tried a clean install but nothing.
At this moment my WordPress installation is clear, i have done a fresh install.
Please revert the PHP Version to 7.x, because the PHP 8.0 is not fully compatible with the wordpress yet.
After that, everything is okay.
thanks
Ok, I will try.
What are the requirements for the theme?
Well, you surely should have the PHP 7 or higher. (PHP 8.0 as I said, is not supported with WP yet)
Of course, the latest version of WP, and the most important:
If these values will be crossed, then everything will work flaweless.
thanks