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

d.olaresko’s picture

It 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.

bhavikshah9’s picture

Status: Active » Needs review
anish_zyxware’s picture

Status: Needs review » Closed (fixed)
anish_zyxware’s picture

This issue is already fixed.