Fatal error in Mini Cart
-
Hi there, when I add products to the cart I can see them when I hover the Mini Cart icon, however when I go to checkout or cart the Mini Cart is not working, I cannot see any products in it and my server is thowing the following fatal error.
Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/ecommerce-gem/includes/hooks.php:176\nStack trace:\n#0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(286): ecommerce_gem_top_header_action(”)\n#1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#3 /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/ecommerce-gem/header.php(42): do_action(‘ecommerce_gem_t…’)\n#4 /opt/bitnami/apps/wordpress/htdocs/wp-includes/template.php(688): require_once(‘/opt/bitnami/ap…’)\n#5 /opt/bitnami/apps/wordpress/htdocs/wp-includes/template.php(647): load_template(‘/opt/bitnami/ap…’, true)\n#6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/general-template.php(41): locate_template(Array, true)\n#7 /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/ec…\n’
Is it a problem on my webside or with the theme?
The page I need help with: [log in to see the link]
- The topic ‘Fatal error in Mini Cart’ is closed to new replies.