I’ve got a php error showing up on my checkout page :
Within the Woo Checkout > Order review element :
Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/mywebsite.com/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-cart.php on line 973
it only appears when using the WooCommerce Page Builder elements,
not when using the whole “WooCommerce Checkout” page element.
It doesn’t display when going straight to the checkout page,
but does if the page is reloaded,
or being accessed from any other pages of the website.
The subscription product is automatically added to the cart on visit :
Error on checkout
This topic is: resolved