We are experiencing a fatal error, often several times per day.
The log entry is as follows:
2022-05-12T04:25:09+00:00 CRITICAL Uncaught Error: Call to a member function is_visible() on null in /nas/content/live/borregooutfitt/wp-content/themes/xstore/woocommerce/product-added-to-cart.php:26
Stack trace:
#0 /nas/content/live/borregooutfitt/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /nas/content/live/borregooutfitt/wp-content/themes/xstore/framework/woo.php(1866): wc_get_template(‘product-added-t…’, Array)
#2 /nas/content/live/borregooutfitt/wp-includes/class-wp-hook.php(307): etheme_added_to_cart_popup(”)
#3 /nas/content/live/borregooutfitt/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#4 /nas/content/live/borregooutfitt/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#5 /nas/content/live/borregooutfitt/wp-admin/admin-ajax.php(202): do_action(‘wp_ajax_nopriv_…’)
#6 {main}
thrown in /nas/content/live/borregooutfitt/wp-content/themes/xstore/woocommerce/product-added-to-cart.php on line 26
Please advise. Thanks for the assistance, the theme is great for our site.