Call to a member function get_cart_contents_count() on null
-
This is a strange one that may only happen on the 404 page, but should probably be inevstigated anyway. This issue appeared several times in a row on certain days (08-Nov-2022 & 17-Feb-2023), but not others.
PHP Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in ROOT/wp-content/plugins/woo-minicart/frontend/wmc-default-template.php:31 Stack trace: #0 ROOT/wp-content/plugins/woo-minicart/class-woo-minicart.php(46): require() #1 ROOT/wp-includes/class-wp-hook.php(308): WMC_Main_Class->templates() #2 ROOT/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 ROOT/wp-includes/plugin.php(517): WP_Hook->do_action() #4 ROOT/wp-includes/general-template.php(3059): do_action() #5 ROOT/wp-content/themes/THEME/footer.php(54): wp_footer() #6 ROOT/wp-includes/template.php(783): require_once('DIR...') #7 ROOT/wp-includes/template.php(718): load_template() #8 ROOT/wp-includes/general-template.php(92): locate_template() #9 ROOT/wp-content/themes/THEME/404.php(33): get_footer() #10 ROOT/wp-includes/template-loader.php(106): include('DIR...') #11 ROOT/wp-blog-header.php(19): require_once('DIR...') #12 ROOT/index.php(17): require('DIR...') #13 {main} thrown in ROOT/wp-content/plugins/woo-minicart/frontend/wmc-default-template.php on line 31
The words in uppercase are placeholders for privacy reasons.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Call to a member function get_cart_contents_count() on null’ is closed to new replies.