warning: Invalid argument supplied for foreach() in /home/www/drupal/modules/contributions/modules/gojoingo/modules/gjg/gjg.module on line 1058

It is also reporting (on the myaccounts/mygroups page) that the subscriber is not a member of any groups. This is true when a member/and or when an owener of groups. I suspect this is linked to the invalid argument.

Comments

webchick’s picture

Category: bug » support

Sorry, what is the URL where you are getting this error? user/###/groups ? my/groups ?

I can't duplicate this on my local copy. Please make sure you have the newest copy of the GJG files:

cd modules/gojoingo
cvs update -dP
netlynx’s picture

url is http://mysite.com/user/1/groups
It is the latest version available for download.
I have made some patches to get it working with latest og (as reported previously in issues) + added 1 of your fixes....
I will investigate this further and report back.

webchick’s picture

I just sent you a really long e-mail. *lol*

But one thing worth saying here is... I have no control over how often the tarballs at http://drupal.org/project/Modules are generated... so what's available there may not necessarily (and indeed probably is not) the newest version of this module. The same goes for OG, and other modules that the package uses.

Your best bet is to always grab the newest files from CVS: http://cvs.drupal.org/viewcvs/drupal/contributions/modules/gojoingo/