Problem with variable product add to cart after last update

Solved1 reply1 participantUpdated by pablostevens

  • Avatar: pablostevens
    pablostevens
    Participant

    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.

    1 Answer

    Avatar: pablostevens
    pablostevens
    Participant

    If anyone else has this problem, I deleted and re-installed the xstore plugin. That didn’t help, so I deleted and re-installed the xstore theme. It now works. I suspect some files left over from the last update.

The issue related to '‘Problem with variable product add to cart after last update’' has been successfully resolved, and the topic is now closed for further responses