• Hi, I am getting this error. The only way to fix that works for me is downgrading PHP.

    Please help:

    Fatal error: Uncaught TypeError: array_merge(): Argument #3 must be of type array, bool given in /var/www/wp-includes/class-wp-customize-widgets.php:380 Stack trace: #0 /var/www/wp-includes/class-wp-customize-widgets.php(380): array_merge(Array, Array, false) #1 /var/www/wp-includes/class-wp-customize-widgets.php(355): WP_Customize_Widgets->customize_register() #2 /var/www/wp-includes/class-wp-hook.php(324): WP_Customize_Widgets->schedule_customize_register(Object(WP_Customize_Manager)) #3 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #4 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /var/www/wp-includes/class-wp-customize-manager.php(947): do_action(‘customize_regis…’, Object(WP_Customize_Manager)) #6 /var/www/wp-includes/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded(”) #7 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /var/www/wp-settings.php(726): do_action(‘wp_loaded’) #10 /var/www/wp-config.php(108): require_once(‘/var/www/wp-set…’) #11 /var/www/wp-load.php(50): require_once(‘/var/www/wp-con…’) #12 /var/www/wp-admin/admin.php(34): require_once(‘/var/www/wp-loa…’) #13 /var/www/wp-admin/customize.php(13): require_once(‘/var/www/wp-adm…’) #14 {main} thrown in /var/www/wp-includes/class-wp-customize-widgets.php on line 380

Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    This could be caused by incorrectly stored data. You say a PHP downgrade solves it – from which to which version?

    As a test, you can also see if deactivating all plugins helps. If not, also change the theme to a standard theme like TwentyTwentyOne. If necessary, create a backup beforehand.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error when hitting “customize”’ is closed to new replies.