Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Exact error message.
Warning: Invalid argument supplied for foreach() in element_children() (line 6420 of /Users/bendougherty/Sites/cdv3/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5887 of /Users/bendougherty/Sites/cdv3/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5897 of /Users/bendougherty/Sites/cdv3/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5935 of /Users/bendougherty/Sites/cdv3/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 5942 of /Users/bendougherty/Sites/cdv3/includes/common.inc).
Patch attached fixes the issue.
Comment | File | Size | Author |
---|---|---|---|
migrate-path-fix.patch | 563 bytes | benjy |
Comments
Comment #1
charlysole CreditAttribution: charlysole commentedI have exactly this errors.
Where should i apply this patch? To which module / file?
Thanks!
Comment #2
benjy CreditAttribution: benjy commentedit's only 1 line in node.inc so you could update manually but you'd usually apply the patch with git apply filename.
Comment #3
newtonentropy CreditAttribution: newtonentropy commentedremoved
Comment #4
mikeryanFixed a long time ago: #1920774: Viewing the details of a mapping causes a warning. "Invalid argument supplied for foreach() in element_children()".
Comment #5
vishal.deshmukh CreditAttribution: vishal.deshmukh commentedHello sir,
I got same issue in my clients website, cam you tell me how to fix it.
i got this patch but having no experience to adding patches with git hub. Tell me how to fix this issue.
Thank You!