• Resolved vkwins

    (@vkwins)


    Please suggest I got below error when I changed shipping on checkout page.

    PHP Fatal error: Uncaught TypeError: wc_add_number_precision(): Argument #1 ($value) must be of type float, null given, called in /nas/content/live/project/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1946 and defined in /nas/content/live/project/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1918\nStack trace:\n#0 /nas/content/live/project/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1946): wc_add_number_precision(NULL, true)\n#1 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(344): wc_add_number_precision_deep(NULL)\n#2 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(850): WC_Cart_Totals->get_shipping_from_cart()\n#3 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(144): WC_Cart_Totals->calculate_shipping_totals()\n#4 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate()\n#5 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1398): WC_Cart_Totals->__construct(Object(WC_Cart))\n#6 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(354): WC_Cart->calculate_totals()\n#7 /nas/content/live/project/wp-includes/class-wp-hook.php(307): WC_AJAX::update_order_review(”)\n#8 /nas/content/live/project/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#9 /nas/content/live/project/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#10 /nas/content/live/project/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_update_…’)\n#11 /nas/content/live/project/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)\n#12 /nas/content/live/project/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)\n#13 /nas/content/live/project/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#14 /nas/content/live/project/wp-includes/template-loader.php(13): do_action(‘template_redire…’)\n#15 /nas/content/live/project/wp-blog-header.php(19): require_once(‘/nas/content/li…’)\n#16 /nas/content/live/project/index.php(17): require(‘/nas/content/li…’)\n#17 {main}\n thrown in /nas/content/live/project/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1918,

Viewing 1 replies (of 1 total)
  • Plugin Support Leo a11n

    (@leoa11n)

    @vkwins Thanks for sharing that error. Can you please confirm what change to shipping you made?

    It will be great if you could share your current System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a reply.

Viewing 1 replies (of 1 total)
  • The topic ‘500 error when change shippling ?wc-ajax=update_order_review’ is closed to new replies.