Support » Plugin: WooCommerce added to cart popup (Ajax) » ajax call error500

  • Hello

    I get an error from the ajax call ?wc-ajax=xoo_cp_add_to_cart when i click on add to cart on asingle product page

    See the error below

    How to solve it?

    Notice: Undefined index: ff364967cffa1febb8dcbb99e71a33ed in /home/customer/www/****/public_html/wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php on line 12

    Fatal error: Uncaught Error: Call to a member function is_visible() on null in /home/customer/www/****.com/public_html/wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php:19 Stack trace: #0 /home/customer/www/****.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(344): include() #1 /home/customer/www/*****.com/public_html/wp-content/plugins/added-to-cart-popup-woocommerce/includes/class-xoo-cp-core.php(55): wc_get_template(‘xoo-cp-content….’, Array, ”, ‘/home/customer/…’) #2 /home/customer/www/****.com/public_html/wp-content/plugins/added-to-cart-popup-woocommerce/includes/class-xoo-cp-core.php(123): Xoo_CP_Core->get_cart_content() #3 /home/customer/www/*****.com/public_html/wp-includes/class-wp-hook.php(287): Xoo_CP_Core->set_ajax_fragments(Array) #4 /home/customer/www/****.com/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #5 /home/customer/www/*****.com/public_html/wp-content/plugins/woocommerce/includes/class- in /home/customer/www/*****.com/public_html/wp-content/plugins/added-to-cart-popup-woocommerce/templates/xoo-cp-content.php on line 19

    There has been a critical error on your website.

    Learn more about debugging in WordPress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter roryrory

    (@roryrory)

    Hello
    The problem is resolved. It was a cache problem. So after clearing caches, it works.
    Sorry for that.

    Thread Starter roryrory

    (@roryrory)

    Hi again
    However i get a second problem unfortunately.
    When in the pop-up i update quantity, then the update is done successfully.
    But the spinner remains.
    How to solve that please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ajax call error500’ is closed to new replies.