Closed (won't fix)
Project:
Drupal core
Version:
5.0-rc1
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2006 at 07:09 UTC
Updated:
6 Jan 2007 at 00:19 UTC
warning: Invalid argument supplied for foreach() in /home/mysite.com/modules/user/user.module on line 1501.
I received this when I clicked on the Posted by: user link
in a CCK module, if that helps
Comments
Comment #1
ewhipple commentedIf you have the Reports module installed, disable it. It returns an invalid value for hook_user(), and user.module is choking on it.
Comment #2
ewhipple commentedI opened an issue for the reports module; see http://drupal.org/node/107207. Although it covers the same symptoms as this issue, there could potentially be other modules returning a bad value for hook_user().
Comment #3
RobRoy commentedClosing this issue as it appears to be related to reports. Open an issue with the offending module instead of user.module if you find another problem.