Call to a member function get_tax_class() on bool
-
Hello everyone,
This morning, I updated my WordPress website, and now I’m facing this error on the page whenever an order is placed …
After changing my template to ensure that the problem was not coming from my functions, I deactivated all my plugins one by one. Upon deactivating TerraWallet, the problem was resolved … or i need terrawalletFatal error: Uncaught Error: Call to a member function get_tax_class() on bool in /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225 Stack trace: 0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart() 1 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals() 2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate() 3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1401): WC_Cart_Totals->__construct(Object(WC_Cart)) 4 /var/www/html/wp-includes/class-wp-hook.php(306): WC_Cart->calculate_totals() 5 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /var/www/html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-frontend.php(864): do_action('woocommerce_car…', '308c01b554ba8e7…', Object(WC_Cart)) 8 /var/www/html/wp-includes/class-wp-hook.php(308): Woo_Wallet_Frontend->restore_woocommerce_cart_items(158602) 9 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 10 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /var/www/html/wp-content/themes/itp-future/woocommerce/checkout/thankyou.php(79): do_action('woocommerce_tha…', 158602) 12 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/var/www/html/w…') 13 /var/www/html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(279): wc_get_template('checkout/thanky…', Array) 14 /var/www/html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(63): WC_Shortcode_Checkout::order_received(158602) 15 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output('') 16 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, '') 17 /var/www/html/wp-includes/shortcodes.php(355): WC_Shortcodes::checkout('', '', 'woocommerce_che…') 18 [internal function]: do_shortcode_tag(Array) 19 /var/www/html/wp-includes/shortcodes.php(227): preg_replace_callback('/\[(\[?)(woocom…', 'do_shortcode_ta…', '[woocommerce_ch…') 20 /var/www/html/wp-includes/class-wp-hook.php(308): do_shortcode('[woocommerce_ch…') 21 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters('[woocommerce_ch…', Array)
Does anyone have any ideas on how to solve the problem ?
Thx
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Call to a member function get_tax_class() on bool’ is closed to new replies.