ArgumentCountError: Too few arguments to function WC_Abstract_Order::get_item()
-
Hi,
When trying to export order, we encountered the following error : There has been a critical error on your website.
Further investigation, we got the following:
[03-Nov-2020 06:18:23 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Abstract_Order::get_item(), 0 passed in /home/customer/www/public_html/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-fields.php on line 413 and at least 1 expected in /home/customer/www/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:879
Stack trace:
#0 /home/customer/www/public_html/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-fields.php(414): WC_Abstract_Order->get_item()
#1 /home/customer/www/public_html/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1703): WC_Order_Export_Order_Fields->get(Array, ‘Item’)
#2 /home/customer/www/public_html/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(585): WC_Order_Export_Data_Extractor::fetch_order_data(‘8887 in /home/customer/www/fruitsdelivery.com.sg/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php on line 879Current setup -:
Wordpress : v5.5.2
Woocommerce : v4.6.1Thank you for the assistance.
- The topic ‘ArgumentCountError: Too few arguments to function WC_Abstract_Order::get_item()’ is closed to new replies.