Backend fatal error

Any chance we can get support for this fatal error?

Backend fatal error: PHP Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in /public_html/wp-content/themes/x/framework/functions/plugins/woocommerce.php:442\nStack trace:\n#0 public_html/wp-includes/class-wp-hook.php(286): x_woocommerce_navbar_menu_item(’<li id="menu-it…’, Object(stdClass))\n#1 i/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(’<li id="menu-it…’, Array)\n#2

Hey @M72561,

Thanks for writing in!

I have logged in to your site and I could not see any error. You may have resolved this one already.
Meanwhile, please make sure that every thing is up to date. Out dated theme or plugins will create issues in the site. After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

And please clear your browser cache too. You may use private browsing mode in testing your site to make sure that you are viewing the latest codes from the updates and not the cached version in your browser.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.