Problem with variable product add to cart after last update

This topic has 2 replies, 1 voice, and was last updated 4 years, 1 months ago ago by pablostevens

  • Avatar: pablostevens
    pablostevens
    Participant
    January 16, 2021 at 00:12

    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
    January 16, 2021 at 00:40

    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.

  • Viewing 2 results - 1 through 2 (of 2 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.