Tips and Tricks HQ Support Portal › Forums › WP eMember › Bug: Warning: Invalid argument supplied for foreach()
Tagged: Bug Report
- This topic has 15 replies, 5 voices, and was last updated 13 years, 8 months ago by gymsensei.
-
AuthorPosts
-
November 9, 2009 at 3:01 pm #401gstoutMember
Error message received:
Warning: Invalid argument supplied for foreach() in /html/wp-content/plugins/wp-eMember/eMember_members_menu.php on line 0
Member List only show most recent entry
When viewing member list in version v1.6
Let me know what you figure out. Shoot me an email if you have questions.
Greg
November 10, 2009 at 5:28 am #15868amin007ParticipantI haven’t seen this on PHP5 servers.. it maybe a PHP4 thing (not many people use PHP4 anymore) let me investigate first and I will get back to you.
Please try and load a fresh copy of the plugin:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
November 19, 2009 at 3:04 pm #15869streamcitiesMemberI am having the same issue: “Invalid argument supplied for foreach()”
Everything was working fine for two days since I installed. I added a product image, and now I get an error. Please help as I am trying to launch this site in the next day or so.
November 19, 2009 at 11:14 pm #15870amin007ParticipantI am starting to not like PHP4 so much
help is on the way Jay.
November 20, 2009 at 6:30 pm #15871gsconteMemberHey, just installed both the emember and estore plugin, receiving the same error message. Thanks for the help!
Also, just to note, I believe my server is php5.
one last thing, I believe it is affecting the way that estore and emember plugins integrate, when i do a test purchase using paypal sandbox, everything works properly up to the customer being added as a member in emember ( a customer is created in the estore side) and the customer getting an email about registration. I can email more details if necessary.
November 21, 2009 at 7:35 pm #15872gstoutMemberI’m on php5 and getting the error
November 21, 2009 at 7:38 pm #15873gstoutMemberBy the way, how do I get updates once you have this fixed.
November 21, 2009 at 10:58 pm #15874amin007Participantvia email… I sent you an updated copy that I think will fix this.
November 21, 2009 at 11:38 pm #15875gstoutMemberYour fix worked perfectly, thanks for your hard efforts and the constant improvements you keep making to this plug-in.
December 7, 2009 at 10:48 pm #15876gstoutMemberFound a problem with this fix/version.
Under membership levels> Manage Content protection tab >
In the drop down other levels besides general protection are no longer showing up.
December 8, 2009 at 4:11 am #15877amin007ParticipantI will take another look at this.
December 8, 2009 at 4:59 am #15878amin007ParticipantAs explained in this thread (https://support.tipsandtricks-hq.com/forums/topic/emember-feature-requests) we now have a new version of eMember that will definitely solve this Interface issue. The question is do you want to upgrade to the new version right now or not. Upgrading to the new version is definitely good but it means the pasword for existing users need to be reset/changed since the new version now uses the same password encryption algorithm that wordpress uses (this was necessary to make the wordpress user integration feature happen).
I can give you a script that will automatically convert the member passwords so you can do the upgrade too (this option is good if you have a large number of existing members already)
December 10, 2009 at 12:31 am #15879gstoutMemberOh I’ll take the new version, We have not launched yet so all users are test data only. I appreciate your taking care of this so quickly. Please shoot me the new version as soon as you have a chance, and thanks!
December 11, 2009 at 10:30 am #15880amin007ParticipantI am adding the options where you can get a comma (,) separated list of all the member emails. I will send you the update after this is done (should be done within a day or two)
March 14, 2011 at 7:12 pm #15881gymsenseiMemberI 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
-
AuthorPosts
- You must be logged in to reply to this topic.