In my site on the page at
/admin/content/node-type/profile/profile
I receive the following warning:
warning: Invalid argument supplied for foreach() in /home/foobar/public_html/includes/form.inc on line 1211.
where foobar is the folder name of the root of the Drupal installation.

I am pretty certain that Content Profile was working as expected when I first installed it, and I do not know what changed to cause this warning to appear.

Is this warning something that I can safely ignore? Is there a way to resolve it?

Thanks!

Comments

finex’s picture

I'm experiencing the same problem :-(

finex’s picture

@frankfarm: did you install and enabled autoassignrole module?

finex’s picture

Upgrading to the -dev version of autoassignrole will solve the problem.

mrgoltra’s picture

# 3 works. Thanks.

miaoulafrite’s picture

Thanks for the info.
but what is this warning related to?
i get the same message (auto assign role is also enabled) , and when a user edits its content profile under user/[uid]/edit/profile if he click on save, the node is saved but the page refreshes to the edit page again (and not the view page)
are these problems linked?

kbk’s picture

Status: Active » Closed (fixed)

I'm not sure why it works - just glad it works. Note that the dev release of AAR isn't listed on the project page. Just click on "new releases":
http://drupal.org/project/autoassignrole

kbk’s picture

Status: Closed (fixed) » Closed (duplicate)

Incidentally though, this AAR post might explain the "why's" #956360: Content Profile and Content Profile Registration errors.

finaukaufusi’s picture

I answer the same question on this link drupal.org/node/129915#comment-5888944