I see there is another thread with this problem. I am experiencing as well. There is no solution posted though. Endless spinning of add to cart with the following error in the log:
Fatal error: Uncaught Error: Call to undefined method WC_AJAX::json_headers() in /home/braboutique1/public_html/wp-content/themes/xstore/framework/woo.php:2575
Stack Trace
1.
etheme_svp_cart(”)
/home/braboutique1/public_html/wp-includes/class-wp-hook.php:287
2.
WP_Hook->apply_filters(”, Array)
/home/braboutique1/public_html/wp-includes/class-wp-hook.php:311
3.
WP_Hook->do_action(Array)
/home/braboutique1/public_html/wp-includes/plugin.php:484
4.
do_action(‘wp_ajax_etheme_…’)
/home/braboutique1/public_html/wp-admin/admin-ajax.php:184
5.
{main}
thrown in /home/braboutique1/public_html/wp-content/themes/xstore/framework/woo.php on line 2575
I’ve tried deactivating all plugins except woocommerce and the Xstore Core, problem still exists.
I’ve tried activating all plugins and then switching to default Storefront theme, and it works properly.