Posted by frankfarm on September 8, 2010 at 12:02am
6 followers
Jump to:
| Project: | Content Profile |
| Version: | 6.x-1.0 |
| Component: | Base module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
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
#1
I'm experiencing the same problem :-(
#2
@frankfarm: did you install and enabled autoassignrole module?
#3
Upgrading to the -dev version of autoassignrole will solve the problem.
#4
# 3 works. Thanks.
#5
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?
#6
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
#7
Incidentally though, this AAR post might explain the "why's" #956360: Content Profile and Content Profile Registration errors.
#8
I answer the same question on this link drupal.org/node/129915#comment-5888944