• Received an fatal error message after removing default legacy widgets from sidebar. Was not able to save changes until I deactivated Stream. Minimal other plugins running and troubleshooting w/ other deactivated resulted in same errors.

    Divi Theme version: 4.17.4, WP version 6.0

    Running PHP v8.0 on WPengine hosting.

    Error message (with site url removed and changed to /site_name_removed/):

    PHP Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /nas/content/live/site_name_removed/wp-content/plugins/stream/connectors/class-connector-widgets.php:300\nStack trace:\n#0 [internal function]: array_merge(wp_inactive_widgets: Array, sidebar-1: Array, sidebar-2: Array, sidebar-3: Array, sidebar-4: Array, sidebar-5: Array, sidebar-6: Array, sidebar-7: Array)\n#1 /nas/content/live/site_name_removed/wp-content/plugins/stream/connectors/class-connector-widgets.php(300): call_user_func_array('array_merge', Array)\n#2 /nas/content/live/site_name_removed/wp-content/plugins/stream/connectors/class-connector-widgets.php(178): WP_Stream\\Connector_Widgets->handle_widget_removal(Array, Array)\n#3 /nas/content/live/site_name_removed/wp-content/plugins/stream/connectors/class-connector-widgets.php(144): WP_Stream\\Connector_Widgets->handle_sidebars_widgets_changes(Array, Array)\n#4 [internal function]: WP_Stream\\Connector_Widgets->callback_update_option_sidebars_widgets(Array, Array, 'sidebars_widget...')\n#5 /nas/content/live/site_name_removed/wp-content/plugins/stream/classes/class-connector.php(127): call_user_func_array(Array, Array)\n#6 /nas/content/live/site_name_removed/wp-includes/class-wp-hook.php(307): WP_Stream\\Connector->callback(Array, Array, 'sidebars_widget...')\n#7 /nas/content/live/site_name_removed/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)\n#8 /nas/content/live/site_name_removed/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#9 /nas/content/live/site_name_removed/wp-includes/option.php(530): do_action('update_option_s...', Array, Array, 'sidebars_widget...')\n#10 /nas/content/live/site_name_removed/wp-includes/widgets.php(1090): update_option('sidebars_widget...', Array)\n#11 /nas/content/live/site_name_removed/wp-includes/widgets.php(1357): wp_set_sidebars_widgets(Array)\n#12 /nas/content/live/site_name_removed/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php(298): retrieve_widgets()\n#13 /nas/content/live/site_name_removed/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php(97): WP_REST_Sidebars_Controller->retrieve_widgets()\n#14 /nas/content/live/site_name_removed/wp-includes/rest-api/class-wp-rest-server.php(1110): WP_REST_Sidebars_Controller->get_items_permissions_check(Object(WP_REST_Request))\n#15 /nas/content/live/site_name_removed/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/sidebars', Array, NULL)\n#16 /nas/content/live/site_name_removed/wp-includes/rest-api.php(519): WP_REST_Server->dispatch(Object(WP_REST_Request))\n#17 /nas/content/live/site_name_removed/wp-includes/rest-api.php(2868): rest_do_request(Object(WP_REST_Request))\n#18 [internal function]: rest_preload_api_request(Array, '/wp/v2/sidebars...')\n#19 /nas/content/live/site_name_removed/wp-includes/block-editor.php(601): array_reduce(Array, 'rest_preload_ap...', Array)\n#20 /nas/content/live/site_name_removed/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))\n#21 /nas/content/live/site_name_removed/wp-admin/widgets.php(32): require('/nas/content/li...')\n#22 {main}\n thrown in /nas/content/live/site_name_removed/wp-content/plugins/stream/connectors/class-connector-widgets.php on line 300, referer: https://site_name_removed.wpengine.com/wp-admin/index.php

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stream causing Fatal Error’ is closed to new replies.