My website is [login to view URL] The Advance Search page works, but only for the first page, then I get the error message: Warning: Invalid argument supplied for foreach() in /home/hdnature/public_html/templates/content/[login to view URL] on line 181 To see this go to:[login to view URL] and type Bison in the species box and Feeding in the Activity box and then hit the Search box. It will bring up 12 images. But then try to view images 13-24 and you will see the error.
Also, at the website my php_errorlog is filling up with gigabytes of error warnings. The lines say:[20-Dec-2010 12:13:57] PHP Warning: Invalid argument supplied for foreach() in /home/hdnature/public_html/[login to view URL] on line 405 The error keeps repeating and varies only by the time (they occur every few seconds).
I need these two errors fixed. I've attached the php files the errors seem to come from. Thanks.