title: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters
body: <p>When I try to install any theme to wordpress this error shows up, what should I do?</p>
  <blockquote>
  <p>Fatal error: Uncaught ArgumentCountError: array_merge() does not
  accept unknown named parameters in
  D:\xampp\htdocs\wordpress\wp-includes\widgets.php:1261 Stack trace: #0
  D:\xampp\htdocs\wordpress\wp-includes\widgets.php(1261):
  array_merge(wp_inactive_widgets: Array, sidebar-1: Array, sidebar-2:
  Array, sidebar-3: Array) #1
  D:\xampp\htdocs\wordpress\wp-includes\widgets.php(1216):
  retrieve_widgets(true) #2
  D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(289):
  _wp_sidebars_changed('Twenty Twenty') #3 D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(311):
  WP_Hook-&gt;apply_filters(NULL, Array) #4
  D:\xampp\htdocs\wordpress\wp-includes\plugin.php(478):
  WP_Hook-&gt;do_action(Array) #5
  D:\xampp\htdocs\wordpress\wp-includes\theme.php(2974):
  do_action('after_switch_th...', 'Twenty Twenty', Object(WP_Theme)) #6
  D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(287):
  check_theme_switched('') #7
  D:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(311):
  WP_Hook-&gt;apply_filters(NULL, Array) #8
  D:\xampp\htdocs\wordpress\wp-includes\plugin.php(478):
  WP_Hook-&gt;do_action(Array) #9
  D:\xampp\htdocs\wordpress\wp-settings.php(540): do_action('init') #10
  D:\xampp\htdocs\wordpress\wp-config.php(90):
  require_once('D:\xampp\htdocs...') #11
  D:\xampp\htdocs\wordpress\wp-load.php(37):
  require_once('D:\xampp\htdocs...') #12
  D:\xampp\htdocs\wordpress\wp-blog-header.php(13):
  require_once('D:\xampp\htdocs...') #13
  D:\xampp\htdocs\wordpress\index.php(17):
  require('D:\xampp\htdocs...') #14 {main} thrown in
  D:\xampp\htdocs\wordpress\wp-includes\widgets.php on line 1261</p>
  </blockquote>