I can fix this by disabling ajax calls in my functions.php, but that’s not the solution.
I disable it with the following code:
‘/** Disable Ajax Call from WooCommerce added in functions.php*/
add_action( ‘wp_enqueue_scripts’, ‘dequeue_woocommerce_cart_fragments’, 11);
function dequeue_woocommerce_cart_fragments() { if (is_front_page()) wp_dequeue_script(‘wc-cart-fragments’); }
function disable_checkout_script(){
wp_dequeue_script( ‘wc-checkout’ );
}
add_action( ‘wp_enqueue_scripts’, ‘disable_checkout_script’ );
Does anyone have ideas?