Issue with PHP 8.0.25
-
Se ha producido un error del tipo E_ERROR en la línea 303 del archivo /usr/home/XXX/www/wp-content/plugins/mainwp-child-reports/connectors/class-connector-widgets.php. Mensaje de error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in /usr/home/XXX/www/wp-content/plugins/mainwp-child-reports/connectors/class-connector-widgets.php:303
Stack trace:
#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, sidebar-8: Array, sidebar-9: Array, sidebar-10: Array, sidebar-11: Array, sidebar-12: Array, sidebar-13: Array, sidebar-14: Array, sidebar-15: Array, sidebar-16: Array, sidebar-17: Array)
#1 /usr/home/XXX/www/wp-content/plugins/mainwp-child-reports/connectors/class-connector-widgets.php(303): call_user_func_array(‘array_merge’, Array)
#2 /usr/home/XXX/www/wp-content/plugins/mainwp-child-reports/connectors/class-connector-widgets.php(181): WP_MainWP_Stream\Connector_Widgets->handle_widget_removal(Array, Array)
#3 /usr/home/XXX/www/wp-content/plugins/mainwp-child-reports/connectors/class-connector-widgets.php(147): WP_MainWP_Stream\Connector_Widgets->handle_sidebars_widgets_changes(Array, Array)
#4 [internal function]: WP_MainWP_Stream\Connector_Widgets->callback_update_option_sidebars_widgets(Array, Array, ‘sidebars_widget…’)
#5 /usr/home/XXX/www/wp-content/plugins/mainwp-child-reports/classes/class-connector.php(92): call_user_func_array(Array, Array)
#6 /usr/home/XXX/www/wp-includes/class-wp-hook.php(308): WP_MainWP_Stream\Connector->callback(Array, Array, ‘sidebars_widget…’)
#7 /usr/home/XXX/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#8 /usr/home/XXX/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /usr/home/XXX/www/wp-includes/option.php(554): do_action(‘update_option_s…’, Array, Array, ‘sidebars_widget…’)
#10 /usr/home/XXX/www/wp-includes/widgets.php(1090): update_option(‘sidebars_widget…’, Array)
#11 /usr/home/XXX/www/wp-includes/widgets.php(1357): wp_set_sidebars_widgets(Array)
#12 /usr/home/XXX/www/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php(298): retrieve_widgets()
#13 /usr/home/XXX/www/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php(97): WP_REST_Sidebars_Controller->retrieve_widgets()
#14 /usr/home/XXX/www/wp-includes/rest-api/class-wp-rest-server.php(1138): WP_REST_Sidebars_Controller->get_items_permissions_check(Object(WP_REST_Request))
#15 /usr/home/XXX/www/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/wp/v2/sidebars’, Array, NULL)
#16 /usr/home/XXX/www/wp-includes/rest-api.php(535): WP_REST_Server->dispatch(Object(WP_REST_Request))
#17 /usr/home/XXX/www/wp-includes/rest-api.php(2884): rest_do_request(Object(WP_REST_Request))
#18 [internal function]: rest_preload_api_request(Array, ‘/wp/v2/sidebars…’)
#19 /usr/home/XXX/www/wp-includes/block-editor.php(633): array_reduce(Array, ‘rest_preload_ap…’, Array)
#20 /usr/home/XXX/www/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))
#21 /usr/home/XXX/www/wp-admin/widgets.php(32): require(‘/usr/home/XXX…’)
#22 {main}
thrownBest regards.
- The topic ‘Issue with PHP 8.0.25’ is closed to new replies.