Critical error with WordPress 5.8
-
WordPress version 5.8
Current theme: Storefront (version 3.7.0)
Current plugin: WooCommerce Cart Tab (version 1.1.2)
PHP version 7.4.19Error Details
=============
An error of type E_ERROR was caused in line 13 of the file /home/example/public_html/wp-content/plugins/woocommerce-cart-tab/includes/cart-tab-templates.php. Error message: Uncaught Error: Call to a member function get_cart_contents_count() on null in /home/example/public_html/wp-content/plugins/woocommerce-cart-tab/includes/cart-tab-templates.php:13
Stack trace:
#0 /home/example/public_html/wp-includes/class-wp-hook.php(303): woocommerce_cart_tab_button(”)
#1 /home/example/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
#2 /home/example/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /home/example/public_html/wp-content/plugins/woocommerce-cart-tab/includes/cart-tab-templates.php(57): do_action(‘wcct_before_car…’)
#4 /home/example/public_html/wp-includes/class-wp-hook.php(303): woocommerce_cart_tab(”)
#5 /home/example/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#6 /home/example/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#7 /home/example/public_html/wp-includes/general-template.php(3031): do_action(‘wp_footer’)
#8 /home/example/public_html/wp-incl
- The topic ‘Critical error with WordPress 5.8’ is closed to new replies.