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
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.