Closed (outdated)
Project:
Admin
Version:
7.x-2.0-beta3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2011 at 19:07 UTC
Updated:
29 Oct 2025 at 16:13 UTC
Jump to comment: Most recent
Hello,
I just ran a full system update from D7.4 for 7.7, as well as auto-updated some of the modules that I had installed, including Admin (7.x-2.0-beta3). However now I keep seeing this error message:
Warning: Invalid argument supplied for foreach() in element_children() (line 6134 of /Applications/MAMP/htdocs/public/drupal-7.7/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6134 of /Applications/MAMP/htdocs/public/drupal-7.7/includes/common.inc).
I tried to locate the issue and finally after disabling the Admin module the errors went away.
Is there any way to find out why this is happening? (I checked the logs and I don't see anything more there).
I can also vaguely remember an error like this showing up once:
Warning: require_once .... /Applications/MAMP/htdocs/public/drupal-7.7/sites/all/modules/entity/...
Your help would be greatly appreciated. :)
Comments
Comment #1
mhamed commentedthe same problem for me
the problem emerges with product content
when i try to publish a product in the front page
it gave me :
Warning: Invalid argument supplied for foreach() in element_children() (line 6134 of /.../includes/common.inc).i know that i ve made some error in the taxonomy or such but to delete all the products so difficultso perhaps someone has solved the same problem?
thanks for all
Comment #2
skwashd commentedMarked #1266506: Annoying warning as a dupe of this issue.
Comment #3
sickness29 commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!