This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

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

8 years ago · Last reply by Alex S 8 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 8 years, 6 months ago

    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.

Have a different question or issue?

Start New Thread