Home Forums Plugins CURCY – WooCommerce Multi Currency Fatal error when adding to cart

Fatal error when adding to cart

  • Author
    Posts
  • #110759

    isabel.arce.gomez
    Participant

    Hello,

    We have two different websites using the WooCommerce Multi Currency Premium plugin.
    Yesterday, we detected that for all products using another plugin, “WPC Product Bundles for WooCommerce”, the “Add to cart” function is returning a fatal error.

    This is not happening for the products not using Product Bundles. However, this plugin is amongst the plugins compatible with Multi Currency.

    We have Multi Currency deactivated now, as Product Bundles is an essential plugin for us.
    How can we fix this?

    Thanks

    Fatal error: Uncaught Error: Call to a member function get_tax_class() on null in /home/customer/www/alexanderdauvin.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225 Stack trace: #0 /home/customer/www/alexanderdauvin.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart() #1 /home/customer/www/alexanderdauvin.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals() #2 /home/customer/www/alexanderdauvin.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate() #3 /home/customer/www/alexanderdauvin.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1398): WC_Cart_Totals->__construct(Object(WC_Cart)) #4 /home/customer/www/alexanderdauvin.com.au/public_html/wp-includes/class-wp-hook.php(301): WC_Cart->calculate_totals() #5 /home/customer/www/alexanderdauvin.com in /home/customer/www/alexanderdauvin.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 225
    There has been a critical error on this website.

You must be logged in to see replies to this topic. Click here to login or register