Posted by AlenaSystems on March 28, 2008 at 3:02am
4 followers
Jump to:
| Project: | OG Default Roles |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Josh Benner |
| Status: | closed (fixed) |
Issue Summary
After submitting a new Group node, received the following Warning error message:
warning: Invalid argument supplied for foreach() in sites/all/modules/og_default_roles/og_default_roles.module on line 106.
Comments
#1
I get the same problem on my site. Have no idea why this is? I can help with extra information if someone that can help needs it.
#2
I get the same problem on my site. Have no idea why this is? I can help with extra information if someone that can help needs it.
#3
I can confirm the same error as well.
I should also point out that I use Drupal 5.7 and the 7.0 version of OG.
Rene
#4
This is now fixed in HEAD. If you want to fix it yourself, simply add this line after line 165 in og_default_roles.module:
$grants[$nid] = array();
#5
Automatically closed -- issue fixed for two weeks with no activity.