After I updated the plugin to the new version 6.0.1 I get the following error when I tried to add a bundle to the cart:
2021-12-07T08:03:15+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on null in /home/deswaank/domains/deswaankado.nl/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225
Stack trace:
#0 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart()
#1 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals()
#2 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate()
#3 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1398): WC_Cart_Totals->__construct(Object(WC_Cart))
#4 /public_html/wp-includes/class-wp-hook.php(301): WC_Cart->calculate_totals()
#5 /public_html/wp-includes/ in /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php op de lijn 225
I don't know if others have the same problem, but When I downgrade the plugin back to 6.0.0 the error is gone and I can add the bundle successfully to the cart again.
Hello,
After I updated the plugin to the new version 6.0.1 I get the following error when I tried to add a bundle to the cart:
I don't know if others have the same problem, but When I downgrade the plugin back to 6.0.0 the error is gone and I can add the bundle successfully to the cart again.
Can this error be solved?
Best regards!
Hi Matyas,
Thank you for contacting WPClever Support Forum.
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your issue and responding with specific instructions as soon as possible.
Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.
Best regards.
Janilyn T. - WPClever Support Agent
Hi Matyas,
Please update our plugin to the latest version 6.0.2 and try again. We've fixed this issue.
Best regards,
Dustin
Hello Dustin,
The update fixed the bug. Thanks.
Best regards!