after update, it show error
-
After updating WooCommerce to the latest version, our customers are experiencing an error when submitting their orders. They are receiving an error message that says, “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.” but in the dashboard for admin her receive the orders
in the log file:PHP Fatal error: Uncaught TypeError: Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix(): Argument #1 ($status) must be of type string, null given, called in /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php on line 629 and defined in /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php:239
Stack trace: 0 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(629): Automattic\WooCommerce\Utilities\OrderUtil::remove_status_prefix() 1 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(286): WC_Abstract_Order->set_status() 2 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(150): WC_Order->set_status() 3 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1089): WC_Order->payment_complete() 4 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1295): WC_Checkout->process_order_without_payment() 5 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(520): WC_Checkout->process_checkout() 6 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout() 7 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 8 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 9 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() 10 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() 11 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 13 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-includes/template-loader.php(13): do_action() 14 /var/www/vhosts/grandsleepjo.com/httpdocs/wp-blog-header.php(19): require_once(‘…’) 15 /var/www/vhosts/grandsleepjo.com/httpdocs/index.php(17): require(‘…’) 16 {main}thrown in /var/www/vhosts/grandsleepjo.com/httpdocs/wp-content/plugins/woocommerce/src/Utilities/OrderUtil.php on line 239
The topic ‘after update, it show error’ is closed to new replies.