Checkout error
-
Hi,
I got fatal error during completion of checkout. I never update or add in any new plugin so far.
Below is the log from woocommerce.
2025-02-05T03:00:10+00:00 CRITICAL Uncaught TypeError: WC_Order::set_shipping_address(): Argument #1 ($address) must be of type array, string given, called in /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 428 and defined in /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-order.php:1194 CONTEXT: {"error":{"type":1,"file":"/var/www/html/wp-content/plugins/woocommerce/includes/class-wc-order.php","line":1194},"remote-logging":true,"backtrace":["","#0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(428): WC_Order->set_shipping_address('Test')","#1 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1298): WC_Checkout->create_order(Array)","#2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(520): WC_Checkout->process_checkout()","#3 /var/www/html/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout('')","#4 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)","#5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)","#6 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action('wc_ajax_checkou...')","#7 /var/www/html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax('')","#8 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array)","#9 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)","#10 /var/www/html/wp-includes/template-loader.php(13): do_action('template_redire...')","#11 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')","#12 /var/www/html/index.php(17): require('/var/www/html/w...')","#13 {main}","thrown"]}The page I need help with: [log in to see the link]
The topic ‘Checkout error’ is closed to new replies.