• Resolved Frank Umeadi

    (@frankapp)


    I always get this error at Checkout order received page. It only happens when TerraWallet is activated. Please how do I solve this?

    Fatal error: Uncaught Error: Call to a member function get_tax_class() on boolean in /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:223 Stack trace: #0 /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(648): WC_Cart_Totals->get_items_from_cart() #1 /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate_item_totals() #2 /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(132): WC_Cart_Totals->calculate() #3 /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1238): WC_Cart_Totals->__construct(Object(WC_Cart)) #4 /home/…/public_html/wp-includes/class-wp-hook.php(285): WC_Cart->calculate_totals() #5 /home/…/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /home/…/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/…/public_html/wp-content/plugins/woo-walle in /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 223
    There has been a critical error on your website.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @frankapp could you please reach out to us at our support email [email protected] regarding this issue?

    Hi I’m experiencing same issue, everything works fine until reaches order recieved page.

    Is there any solution to fix this issue?

    [15-Jul-2020 10:26:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_tax_class() on bool in …/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:223
    Stack trace:
    #0 …/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(648): WC_Cart_Totals->get_items_from_cart()
    #1 …/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate_item_totals()
    #2 …/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(132): WC_Cart_Totals->calculate()
    #3 …/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1237): WC_Cart_Totals->__construct()
    #4 …/wp-includes/class-wp-hook.php(285): WC_Cart->calculate_totals()
    #5 …/wp-includes/class-wp-hook.php(311): WP_Ho in …/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 223

    • This reply was modified 4 years, 4 months ago by aaronliu.
    • This reply was modified 4 years, 4 months ago by aaronliu.

    I am getting the same error on thank you page once I disable the plugin the error is gone you can add any product and checkout on this website https://www.makemydeals.co.in/ please send solution soon

    Hi there,

    Do we have any updates on this error? We’re experiencing the same issue for the Woocommerce Customer role. A quick fix would be great!

    It looks like $item is not properly initiated.
    Thanks.

    same issue, have any one got the solution??

    Plugin Author Subrata Mal

    (@subratamal)

    Is anyone send us the steps on how we can reproduce the issue?

    atal error: Uncaught Error: Call to a member function get_tax_class() on bool in /home/travelbu/public_html/pankh/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225 Stack trace: #0 /home/travelbu/public_html/pankh/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart() #1 /home/travelbu/public_html/pankh/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals() #2 /home/travelbu/public_html/pankh/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate() #3 /home/travelbu/public_html/pankh/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1398): WC_Cart_Totals->__construct(Object(WC_Cart)) #4 /home/travelbu/public_html/pankh/wp-includes/class-wp-hook.php(301): WC_Cart->calculate_totals() #5 /home/travelbu/public_html/pankh/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #6 /home/travelbu/public_html/pankh/wp-includes/plugin.php( in /home/travelbu/public_html/pankh/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 225

    same error am facing after checkout and order recieved page
    order-received/63810/?key=wc_order_Pv1oaivRhn1iy

    please share the steps how to remove this

    I have also faced the same problem. Can you please give a solution?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Uncaught Error: Call to a member function get_tax_class()’ is closed to new replies.