There has been a critical error on this website.
-
Hi.
Today we had a WordPress update and since then the orders are no longer showing in the Orders List, Instead the left hand column says “There has been a critical error on this website.”
On checking the status>log, I see this critical error:
2024-04-19T00:42:08+00:00Critical Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, array callback must have exactly two members in /home/shapingspacescom/public_html/wp-includes/class-wp-hook.php:326 Additional context{ “error”: { “type”: 1, “file”: “\/home\/shapingspacescom\/public_html\/wp-includes\/class-wp-hook.php”, “line”: 326 }, “backtrace”: [ “”, “#0 \/home\/shapingspacescom\/public_html\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”, “#1 \/home\/shapingspacescom\/public_html\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)”, “#2 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-posts-list-table.php(1398): do_action(‘manage_shop_ord…’, ‘order_number’, 3528)”, “#3 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-list-table.php(1796): WP_Posts_List_Table->column_default(Object(WP_Post), ‘order_number’)”, “#4 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns(Object(WP_Post))”, “#5 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row(Object(WP_Post), 0)”, “#6 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows(Array, 0)”, “#7 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-list-table.php(1706): WP_Posts_List_Table->display_rows()”, “#8 \/home\/shapingspacescom\/public_html\/wp-admin\/includes\/class-wp-list-table.php(1633): WP_List_Table->display_rows_or_placeholder()”, “#9 \/home\/shapingspacescom\/public_html\/wp-admin\/edit.php(503): WP_List_Table->display()”, “#10 {main}”, “thrown” ] }
It seems to be a core WP file not interacting with WooCommerce, but I have no idea why. Could anyone please help me find a solution to this error?
Thank you
- The topic ‘There has been a critical error on this website.’ is closed to new replies.