warning: Invalid argument supplied for foreach() in profile.module on line 192

Updraded from previous cvs version (installed as an update on 10/14/2003) to 4.30 rc1 and receive the above error everytime I try to access user accounts.

Comments

moshe weitzman’s picture

I cannot reprodice this. Can anyone else? If not, please close this case.

kbahey’s picture

I saw this too, but cannot remember what I was doing that triggered it.

I did a clean install of 4.3.0 rc1 (grapped today), and saw this error while setting up the site for the first time.

Here are the details of the error from the "messages".

Type error
Date Wednesday, October 15, 2003 - 21:18
User blah
Location /admin/node
Message warning: Invalid argument supplied for foreach() in /home/www/html/drupal-4.3.0-rc1/modules/node.module on line 652.
Hostname 192.168.0.3

Kjartan’s picture

Not reproducable, and probably due to incorrect editing of the profile fields. If this is not the case re-open with more information.

cornernote’s picture

Hello,

I upgraded to 4.4 and now I am getting this error with every profile including new ones:

warning: Invalid argument supplied for foreach() in /home/mrphp/public_html/site/modules/profile.module on line 176.

Any Ideas?

Best regards,
Brett

cornernote’s picture

Hello,

I went into here:
admin > configuration > modules > profile

And clicked save and it fixed it.

:)

Best regards,
Brett