ResolvedWooCommerce checkout problem
Tagged: woocommerce
- This topic has 3 replies, 2 voices, and was last updated 1 year, 9 months ago by
Althemist.
- AuthorPosts
- August 29, 2021 at 12:27 am #31438
ideahands.it
ParticipantHi i have a problem whit checkout WooCommerce, how can i fix it?
Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1885 Stack trace: #0 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1911): wc_add_number_precision(”, true) #1 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(344): wc_add_number_precision_deep(”) #2 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(850): WC_Cart_Totals->get_shipping_from_cart() #3 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(144): WC_Cart_Totals->calculate_shipping_totals() #4 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate() #5 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1398): WC_Cart_Totals->__construct(Object(WC_Cart)) #6 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(275): WC_Cart->calculate_totals() #7 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(67): WC_Shortcode_Checkout::checkout() #8 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output(”) #9 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, ”) #10 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-includes/shortcodes.php(356): WC_Shortcodes::checkout(”, ”, ‘woocommerce_che…’) #11 [internal function]: do_shortcode_tag(Array) #12 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(woocom…’, ‘do_shortcode_ta…’, ‘[woocommerce_ch…’) #13 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-includes/class-wp-hook.php(303): do_shortcode(‘[woocommerce_ch…’) #14 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘[woocommerce_ch…’, Array) #15 /customers/e/3/6/pizzerialasaporita.com/httpd.www/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘
August 30, 2021 at 10:16 am #31449Althemist
KeymasterHi ideahands.it,
I am afraid we can’t just guess what could be wrong by looking at the error. Please, provide a working link to your site and temporary admin access, so we can check what could be wrong.
August 30, 2021 at 6:03 pm #31461ideahands.it
ParticipantI solved it was the Delivery by City plugin that generated the problem, do you know other plugins that I could use compatible with your theme? Basically put different prices for each city ES. City 1 shipping 2.00 €
City 2 shipping 3,00 €
but not with the zip codes because the cities are in the same zip codeAugust 31, 2021 at 12:23 pm #31464Althemist
KeymasterNo, I am afraid we are not familiar with such plugins.
However, please note that we are working on a brand new feature (draw shipping areas on map) where you’d be able to precisely draw your areas and assign different prices for different areas.
It would be ready in approx. 2-3 weeks from now.
- AuthorPosts
You must be logged in and have valid license to reply to this topic.