Critical error on checkout
-
Hello,
I dont know why i keep getting critical error in my site, kindly see the error below.
2023-06-03T14:52:21+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on bool in /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225 Stack trace: #0 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart() #1 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals() #2 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate() #3 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1401): WC_Cart_Totals->__construct() #4 /home/site.com/public_html/wp-includes/class-wp-hook.php(306): WC_Cart->calculate_totals() #5 /home/site.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /home/site.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/site.com/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-frontend.php(864): do_action() #8 /home/site.com/public_html/wp-includes/class-wp-hook.php(308): Woo_Wallet_Frontend->restore_woocommerce_cart_items() #9 /home/site.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #10 /home/site.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /home/site.com/public_html/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(80): do_action() #12 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #13 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(279): wc_get_template() #14 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(63): WC_Shortcode_Checkout::order_received() #15 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output() #16 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper() #17 /home/site.com/public_html/wp-includes/shortcodes.php(355): WC_Shortcodes::checkout() #18 [internal function]: do_shortcode_tag() #19 /home/site.com/public_html/wp-includes/shortcodes.php(227): preg_replace_callback() #20 /home/site.com/public_html/wp-includes/class-wp-hook.php(308): do_shortcode() #21 /home/site.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #22 /home/site.com/public_html/wp-includes/blocks/post-content.php(54): apply_filters() #23 /home/site.com/public_html/wp-includes/class-wp-block.php(258): render_block_core_post_content() #24 /home/site.com/public_html/wp-includes/class-wp-block.php(244): WP_Block->render() #25 /home/site.com/public_html/wp-includes/blocks.php(1072): WP_Block->render() #26 /home/site.com/public_html/wp-includes/blocks.php(1110): render_block() #27 /home/site.com/public_html/wp-includes/block-template.php(242): do_blocks() #28 /home/site.com/public_html/wp-includes/template-canvas.php(12): get_the_block_template_html() #29 /home/site.com/public_html/wp-includes/template-loader.php(106): include('...') #30 /home/site.com/public_html/wp-blog-header.php(19): require_once('...') #31 /home/site.com/public_html/index.php(17): require('...') #32 {main} thrown in /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 225
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Critical error on checkout’ is closed to new replies.