Tips and Tricks HQ Support Portal › Forums › WP eMember › Bug: Warning: Invalid argument supplied for foreach() › Reply To: Bug: Warning: Invalid argument supplied for foreach()
I too have this issue – “Warning: Invalid argument supplied for foreach” when customers are re-directed from Paypal to our thankyou page. THIS IS FOR THE eSTORE plugin – I am not attempting to put this into a membership site – so I don’t know where the mixup is. I see it sends them to the proper thankyou page, but then adds a huge amount of code behind it in the URL…
[http://gymsensei.net/thankyou001?mc_gross=99.00…..]
Here is the page error code:
Warning: Invalid argument supplied for foreach() in /home/content/k/i/c/kicksunlimited/html/gymsensei/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 78
Warning: Cannot modify header information – headers already sent by (output started at /home/content/k/i/c/kicksunlimited/html/gymsensei/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php:78) in /home/content/k/i/c/kicksunlimited/html/gymsensei/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 83
Warning: Invalid argument supplied for foreach() in /home/content/k/i/c/kicksunlimited/html/gymsensei/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 78
Could you please tell me what I am doing wrong? I appreciate your help!
Matthew