Fatal Error in WC Orders Area
-
Good morning, I am hoping you can help, I have had the following error occur when trying to visit our WC Orders area of the admin section. I had the following information come through relating to this, I hope you can help, Kind regards, Brett 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 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error in WC Orders Area’ is closed to new replies.