Support » Fixing WordPress » How to solve this wordpress

  • Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in C:\xampp\htdocs\06_Emilia_project2\wp-includes\widgets.php:1261 Stack trace: #0 C:\xampp\htdocs\06_Emilia_project2\wp-includes\widgets.php(1261): array_merge(wp_inactive_widgets: Array, sidebar-1: Array) #1 C:\xampp\htdocs\06_Emilia_project2\wp-includes\class-wp-customize-widgets.php(281): retrieve_widgets(‘customize’) #2 C:\xampp\htdocs\06_Emilia_project2\wp-includes\class-wp-hook.php(287): WP_Customize_Widgets->override_sidebars_widgets_for_theme_switch(”) #3 C:\xampp\htdocs\06_Emilia_project2\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 C:\xampp\htdocs\06_Emilia_project2\wp-includes\plugin.php(478): WP_Hook->do_action(Array) #5 C:\xampp\htdocs\06_Emilia_project2\wp-settings.php(562): do_action(‘wp_loaded’) #6 C:\xampp\htdocs\06_Emilia_project2\wp-config.php(90): require_once(‘C:\\xampp\\htdocs…’) #7 C:\xampp\htdocs\06_Emilia_project2\wp-load.php(37): require_once(‘C:\\xampp\\htdocs…’) #8 C:\xampp\htdocs\06_Emilia_project2\wp-admin\admin.php(34): require_once(‘C:\\xampp\\htdocs…’) #9 C:\xampp\htdocs\06_Emilia_project2\wp-admin\customize.php(13): require_once(‘C:\\xampp\\htdocs…’) #10 {main} thrown in C:\xampp\htdocs\06_Emilia_project2\wp-includes\widgets.php on line 1261

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @magictee337

    You are developing in localhost, so I can’t access to the website. If you take a look at the error message, you can see you are passing incorrect values to some functions like

    Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in C:\xampp\htdocs\06_Emilia_project2\wp-includes\widgets.php:1261 Stack trace: #0

    Please, review the error output to resolve the problems in your theme.

    Have a nice day

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.