Hello,
I often get these errors when accessing a page generated by Search404 module.
Warning: Invalid argument supplied for foreach() in element_children() (line 6465 of /home/xxxx/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5930 of /home/xxxx/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5940 of /home/xxxx/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 5978 of /home/xxxx/includes/common.inc).
Warning: Illegal string offset '#printed' in drupal_render() (line 5985 of /home/xxxx/includes/common.inc).
The page you requested does not exist. For your convenience, a search was performed using the query section.
Sorry I don't have more informations about where in Search404 code this is caused.
Best regards
Comments
Comment #1
d.olaresko commentedIt is fixed in latest module version. Try to download latest dev version.
The problem was in line 198, $results variable should be render array but string given.
Comment #2
bhavikshah9 commentedComment #3
anish_zyxware commentedComment #4
anish_zyxware commentedThis issue is already fixed.