Closed (fixed)
Project:
MySite
Version:
5.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2007 at 22:42 UTC
Updated:
7 Jul 2007 at 22:23 UTC
I happened to click on the My (drupal) link before logging in and got this error:
warning: Invalid argument supplied for foreach() in /home/mofpeace/public_html/drupal/sites/all/modules/mysite/plugins/layouts/default.php on line 27.
Comments
Comment #1
agentrickardI thought we quashed this bug. (http://drupal.org/node/144187).
Are you sure you are running the latest release? Please look at the top of mysite.module. It should say:
If you are, please tell me your access control configuration for the module and the role of the user who caused this error.
If you aren't, upgrade to the latest release.
The new release has this check which shoud prevent this error:
Lines 685-687 of mysite.module
In the meantime, I do know that the error will go away if you configure default content.
Comment #2
agentrickardMerging this with http://drupal.org/node/153570 and investigating.
Comment #3
agentrickard