Home>Support>Fatal error: Uncaught Error: Call to a member function get_cart()

Fatal error: Uncaught Error: Call to a member function get_cart()

I am getting following error

Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/xyz/public_html/wp-content/themes/saha/inc/woocommerce/template-tags.php:379 Stack trace: #0 /home/xyz/public_html/wp-includes/class-wp-hook.php(298): saha_cart_loading(”) #1 /home/xyz/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/xyz/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/xyz/public_html/wp-content/themes/saha/inc/widgets/widget-woo-products.php(186): do_action(‘woocommerce_bef…’) #4 /home/xyz/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(467): Saha_Woo_Products_Widget->widget(Array, Array) #5 /home/xyz/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(763): SiteOrigin_Panels_Renderer->the_widget(Array, Array, 1, 0, 1, false, true, 7335, ”) #6 /home/xyz/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(723): SiteOrigin_Panels_Renderer->render_widget(7335, 1, 0, 1, Array, in /home/xyz/public_html/wp-content/themes/saha/inc/woocommerce/template-tags.php on line 379

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 1 month ago Alex S
    Hi, I Work Here

    Hi Kashif,

    Unfortunately, this issue an issue with the widget you’re using that’s bundled with your theme. I would recommend getting in contact with the theme developers for assistance.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More