Active
Project:
Recruiter
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2013 at 05:25 UTC
Updated:
4 Apr 2014 at 23:27 UTC
Jump to comment: Most recent
just install Recruiter without any error in installation, but when press My account link or try to add some personal data to my profile this error appear :
Warning: Invalid argument supplied for foreach() in element_children() (line 6370 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5837 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5847 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5885 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 5892 of D:\wamp\www\rec\includes\common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6370 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5837 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5847 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5885 of D:\wamp\www\rec\includes\common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 5892 of D:\wamp\www\rec\includes\common.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| rec_error.png | 64.95 KB | waleedmohsen |
Comments
Comment #1
FooBarBazQux commentedSame here with these errors when trying to add personal information on my resume. Any help would be appreciated.
Warning: Invalid argument supplied for foreach() in element_children() (line 6400 of C:\wamp\www\recruiter\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5867 of C:\wamp\www\recruiter\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5877 of C:\wamp\www\recruiter\includes\common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5915 of C:\wamp\www\recruiter\includes\common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 5922 of C:\wamp\www\recruiter\includes\common.inc).
Comment #2
audriusb commentedto fix these errors you have to do couple of things:
comment out
print render($content);add at the top in php tags
unset($content['field_resume_state_info']);errors should go away now. For the first part, everything is rendered when come to the last render($content) and in $content is left some garbage. As for second part, garbage is removed at the beginning.
Audrius
Comment #3
mh86 commentedDuplicated issue #1999586: Pb on recruiter distrib
Comment #3.0
mh86 commentedremove image link
Comment #4
tanius commentedRelated issue: in module commons_events, equivalent error messages were triggered by a migration from PHP 5.3 to 5.4 and fixed in #1995834: PHP 5.4 Attend an Event page errors to screen in comment #13.