I get this error message when i want to set permissions for this module.
"warning: Invalid argument supplied for foreach() in user_permission_get_modules() (line 3040 of /home/mysite/public_html/modules/user/user.module)"
"warning: Invalid argument supplied for foreach() in user_permission_get_modules() (line 3040 of /home/mysite/public_html/modules/user/user.module)"
"warning: Invalid argument supplied for foreach() in user_permission_get_modules() (line 3040 of /home/mysite/public_html/modules/user/user.module)"
"warning: Invalid argument supplied for foreach() in user_permission_get_modules() (line 3040 of /home/mysite/public_html/modules/user/user.module)"
ALSO NOTE: I got this same error message when trying to configure the drupal wall module,
Please someone help!!!
I'll appreciate your kind assistance in resolving this issue,
Thank you
Comments
Comment #1
estoyausenteHi, @deeray. We need more info for reproduce the messages. I installed the module and used it and never have these warning.
Ty! :)
Comment #2
estoyausenteComment #3
deeray commentedHello, I don't think the problem has to do with the twitter module. I get this error message any time I change or carry out a Permission.
I don't know if anyone else has encountered this issue...
Comment #4
damienmckennaSounds like a general problem for your site and nothing related to the Twitter module. If you have any modules installed that are interacting with the Permissions page you might try turning them off. You might also look for any hook_form_alter() hooks you've implemented on your own custom modules to see if one of them is breaking the form.