• Resolved R S Grove

    (@groverstones)


    This error is very specific.

    Problem:

    1. Add item to cart
    2. Go to cart page
    3. Reduce quantity to 0 with arrows (don’t use trash icon)
    4. Page reloads
    5. Click refresh on the browser
    6. Click Resend
    7. Critical error

    Warning: foreach() argument must be of type array|object, bool given in /wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 359

    WordPress 6.8.2
    Plugin Version 5.1.9
    PHP 8.2.27

Viewing 1 replies (of 1 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us. Are you testing to see if you can purchase 0 products? When you refresh the page are you also adding 1 product to the cart?

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Critical error on refresh’ is closed to new replies.