• Resolved abcserviceuk

    (@abcserviceuk)


    Hi, I have included the email i got from my WordPress installation/Woocommerce error,
    whilst I understand it is a WooCommerce error I am raising this here because I see mention of Automattic more than once, an I know that this is relating to your plugin which I always use...desperately need it to work :)
    
    When seeking help with this issue, you may be asked for some of the following information:
    
    WordPress version 6.3.1
    
    Active theme: Divi (version 4.22.1)
    
    Current plugin: WooCommerce (version 8.0.2) PHP version 8.1.22
    
    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 233 of the file /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php. Error message: Uncaught TypeError: Automattic\WooCommerce\Utilities\ArrayUtil::deep_assoc_array_diff(): Argument #2 ($array2) must be of type array, null given, called in /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php on line 257 and defined in /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php:233
    
    Stack trace:
    
    #0 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php(257): Automattic\WooCommerce\Utilities\ArrayUtil::deep_assoc_array_diff(Array, NULL, true)
    
    #1 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php(234): Automattic\WooCommerce\Utilities\ArrayUtil::deep_compute_or_compare_array_diff(Array, Array, false, true)
    
    #2 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php(1307): Automattic\WooCommerce\Utilities\ArrayUtil::deep_assoc_array_diff(Array, Array)
    
    #3 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php(1253): Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_diff_meta_data_between_orders(Object(Automattic\WooCommerce\Admin\Overrides\Order), Object(WC_Order))
    
    #4 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php(1140): Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->is_post_different_from_order(Object(Automattic\WooCommerce\Admin\Overrides\Order), Object(WC_Order))
    
    #5 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php(1065): Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->maybe_sync_order(Object(Automattic\WooCommerce\Admin\Overrides\Order), Object(WC_Order))
    
    #6 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(171): Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->read_multiple(Array)
    
    #7 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-factory.php(123): WC_Data_Store->read_multiple(Array)
    
    #8 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php(2556): WC_Order_Factory::get_orders(Array)
    
    #9 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->query(Array)
    
    #10 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-query.php(87): WC_Data_Store->__call('query', Array)
    
    #11 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php(69): WC_Order_Query->get_orders()
    
    #12 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php(403): wc_get_orders(Array)
    
    #13 /home/sites/26b/f/f74c7b1c11/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(302): Automattic\WooCommerce\Internal\Admin\Orders\ListTable->prepare_items()
    
    #14 /home/sites/26b/f/f74c7b1c11/public_html/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Internal\Admin\Orders\PageController->output('')
    
    #15 /home/sites/26b/f/f74c7b1c11/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
    
    #16 /home/sites/26b/f/f74c7b1c11/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #17 /home/sites/26b/f/f74c7b1c11/public_html/wp-admin/admin.php(259): do_action('woocommerce_pag...')
    
    #18 {main}
    
    ? thrown
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter abcserviceuk

    (@abcserviceuk)

    Hi, here is a pastebin with further information

    https://pastebin.com/VSv6TUQY

    I hope someone can come back to me promptly on this,

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hello @abcserviceuk,

    Looks like the errors are tied to the WooCommcerce plugin, not Jetapck CRM, isn’t it? If that’s so, I recommend reporting it to the Woo forum here.

    Thread Starter abcserviceuk

    (@abcserviceuk)

    I have raised it with them as well, I thought I would raise it here because there was mention of Automattic, and wondered if it was because they sync up….

    Automattic\WooCommerce\Utilities\ArrayUtil::deep_assoc_array_diff(): Argument #
    Jay

    (@bluejay77)

    Hi @abcserviceuk,

    I understand! To rule out Jetpack CRM as the cause of this issue, would you try temporarily deactivating Jetpack CRM, and then see if you’re still seeing the fatal error on the WooCommerce order page?

    Health Check is a tool that can be useful for debugging, though it requires an official default theme like Twenty Seventeen. On the troubleshooting tab, you can click the button to disable all plugins except WooCommerce and change the theme for you while you’re logged in to that session without affecting normal visitors to your site.
    Let us know how it goes!

    Thread Starter abcserviceuk

    (@abcserviceuk)

    Thank you for this, tested and still has the error however the error still mentions Automattic in the list of the error code….

    Jay

    (@bluejay77)

    Hi @abcserviceuk,

    Thanks for testing! The fact that you’re seeing the error with Jetpack CRM indicates that the error is not related to Jetpack CRM and thus we’re not able to assist any further. I recommend working with the WooCommerce support team on resolving the error.

    however the error still mentions Automattic in the list of the error code….

    Automattic is the parent company for WooCommerce, as well as Jetpack, so that’s not surprising ??

    I hope that clarifies things!

    Thread Starter abcserviceuk

    (@abcserviceuk)

    Aha! Thank you ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error on WooCommerce Orders Page’ is closed to new replies.