• 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

Viewing 1 replies (of 1 total)
  • Hello there @dashdesigns,

    I’m sorry to hear about the issues you’re experiencing following your WordPress update.

    Based on the error message you’ve provided, it appears there’s an issue with a callback function in your WordPress code.

    Here are a few steps you can take to try and resolve this:

    1. Update all plugins and themes: Make sure all your plugins and themes are up-to-date. This can often resolve conflicts with the latest WordPress update.

    2. Deactivate all plugins: If updating doesn’t resolve the issue, try deactivating all plugins. If this resolves the issue, reactivate each plugin one by one to identify the source of the conflict.

    3. Switch to a default theme: If the issue persists, try switching to a default WordPress theme like Twenty Twenty-Four or Storefront. If this resolves the issue, the problem lies with your theme.

    4. Debugging: If you’re still experiencing issues, you may need to enable WordPress debugging to get more detailed information about the error. Here’s a post on enabling WordPress debugging.

    If the issue persists after following the above steps, please share with us your system status report, which you can find via WooCommerce > Status > Get system report > Copy for support.

    We’re here to help!

Viewing 1 replies (of 1 total)
  • The topic ‘There has been a critical error on this website.’ is closed to new replies.