PHP Fatal error: Uncaught TypeError:
-
Website is configured as a quote system (add to quote, submit quote) instead of cart and checkout.
It’s been working great for a while now until a couple days ago we’re getting the: There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again. Fix now.
While the error shows on the front end (to the customer) the Quote is submitted and we get notified via email.
WordPress 6.6.1 \ WooCommerce 9.2.3 \ PHP 8.1.29
From the ERROR LOG:
PHP Fatal error: Uncaught TypeError: Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix(): Argument #1 ($status) must be of type string, null given, called in /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php on line 629 and defined in /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php:239
Stack trace: 0 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(629): Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix(NULL) 1 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(286): WC_Abstract_Order->set_status(NULL) 2 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(150): WC_Order->set_status(NULL) 3 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1089): WC_Order->payment_complete() 4 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1295): WC_Checkout->process_order_without_payment(10820) 5 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(520): WC_Checkout->process_checkout() 6 /home/MYWEBSITE/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout(”) 7 /home/MYWEBSITE/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 8 /home/MYWEBSITE/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action(‘wc_ajax_checkou…’) 10 /home/MYWEBSITE/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax(”) 11 /home/MYWEBSITE/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array) 12 /home/MYWEBSITE/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 13 /home/MYWEBSITE/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’) 14 /home/MYWEBSITE/public_html/wp-blog-header.php(19): require_once(‘/home/sweetbuff…’) 15 /home/MYWEBSITE/public_html/index.php(17): require(‘/home/sweetbuff…’) 16 {main}
thrown in /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php on line 239
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.