Closed (duplicate)
Project:
Content Profile
Version:
6.x-1.0
Component:
Base module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2010 at 00:02 UTC
Updated:
19 Apr 2012 at 01:04 UTC
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
Comment #1
finex commentedI'm experiencing the same problem :-(
Comment #2
finex commented@frankfarm: did you install and enabled autoassignrole module?
Comment #3
finex commentedUpgrading to the -dev version of autoassignrole will solve the problem.
Comment #4
mrgoltra commented# 3 works. Thanks.
Comment #5
miaoulafrite commentedThanks 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?
Comment #6
kbk commentedI'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
Comment #7
kbk commentedIncidentally though, this AAR post might explain the "why's" #956360: Content Profile and Content Profile Registration errors.
Comment #8
finaukaufusiI answer the same question on this link drupal.org/node/129915#comment-5888944