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.

CommentFileSizeAuthor
migrate-path-fix.patch563 bytesbenjy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

charlysole’s picture

I have exactly this errors.
Where should i apply this patch? To which module / file?
Thanks!

benjy’s picture

it's only 1 line in node.inc so you could update manually but you'd usually apply the patch with git apply filename.

newtonentropy’s picture

removed

mikeryan’s picture

vishal.deshmukh’s picture

Hello 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!