Fatal error after updated to latest version
-
I got fatal error on cart and checkout page after updated to v3.3.60
OpenLiteSpeed Server, PHP8.2, WP ver6.4.4, WooCommerce v8.6.1Error in below
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in
/home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/gateways/class-wc-payment-gateway-stripe-googlepay.php:191 Stack trace: 0 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/gateways/class-wc-payment-gateway-stripe-googlepay.php(191): number_format() 1 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/gateways/class-wc-payment-gateway-stripe-googlepay.php(178): WC_Payment_Gateway_Stripe_GooglePay->get_formatted_shipping_label() 2 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/abstract/abstract-wc-payment-gateway-stripe.php(1774): WC_Payment_Gateway_Stripe_GooglePay->get_formatted_shipping_method() 3 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/gateways/class-wc-payment-gateway-stripe-googlepay.php(162): WC_Payment_Gateway_Stripe->get_formatted_shipping_methods() 4 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/abstract/abstract-wc-payment-gateway-stripe.php(1535): WC_Payment_Gateway_Stripe_GooglePay->get_formatted_shipping_methods() 5 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/abstract/abstract-wc-payment-gateway-stripe.php(279): WC_Payment_Gateway_Stripe->output_display_items() 6 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/templates/cart/payment-methods.php(21): WC_Payment_Gateway_Stripe->cart_fields() 7 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘…’) 8 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php(15): wc_get_template() 9 /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-field-manager.php(126): wc_stripe_get_template() 10 /home/mydomain.com/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Field_Manager::output_cart_fields() 11 /home/mydomain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /home/mydomain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 13 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/templates/cart/cart-totals.php(107): do_action() 14 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘…’) 15 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2180): wc_get_template() 16 /home/mydomain.com/public_html/wp-includes/class-wp-hook.php(324): woocommerce_cart_totals() 17 /home/mydomain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 18 /home/mydomain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 19 /home/mydomain.com/public_html/wp-content/themes/flatsome/woocommerce/cart/cart.php(220): do_action() 20 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘…’) 21 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(101): wc_get_template() 22 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() 23 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() 24 /home/mydomain.com/public_html/wp-includes/shortcodes.php(433): WC_Shortcodes::cart() 25 [internal function]: do_shortcode_tag() 26 /home/mydomain.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() 27 /home/mydomain.com/public_html/wp-includes/class-wp-hook.php(324): do_shortcode() 28 /home/mydomain.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 29 /home/mydomain.com/public_html/wp-includes/post-template.php(256): apply_filters() 30 /home/mydomain.com/public_html/wp-content/themes/flatsome/woocommerce/checkout/layouts/checkout.php(18): the_content() 31 /home/mydomain.com/public_html/wp-includes/template.php(792): require(‘…’) 32 /home/mydomain.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template() 33 /home/mydomain.com/public_html/wp-content/themes/flatsome/page-cart.php(9): wc_get_template_part() 34 /home/mydomain.com/public_html/wp-includes/template-loader.php(106): include(‘…’) 35 /home/mydomain.com/public_html/wp-blog-header.php(19): require_once(‘…’) 36 /home/mydomain.com/public_html/index.php(17): require(‘…’) 37 {main} thrown in /home/mydomain.com/public_html/wp-content/plugins/woo-stripe-payment/includes/gateways/class-wc-payment-gateway-stripe-googlepay.php on line 191There has been a critical error on this website.
- The topic ‘Fatal error after updated to latest version’ is closed to new replies.