PDA

View Full Version : php error in search results


tarpontech
01-27-2010, 05:52 PM
Has anyone else seen:

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/test.sigpropnc.com/httpdocs/wp-content/plugins/wp-realty/include/search.inc.php on line 379

when navigating between pages of search results and perhaps discovered what the cause was?

I'm getting this error on a fresh install, the error happens when i've run a search on a specific property class, once i navigate past the first page of the search results, i encounter this error, and the search criteria are no longer applied to the results, i get homes mixed in with condos, mixed in with land..ect.

Jared
01-28-2010, 07:21 AM
This should have been fixed in 2.0.5 can you tell me which version you have installed?

I'll look at your site if you can send me a PM for the URL.

tarpontech
01-30-2010, 12:09 PM
Jared, I'm fairly certain it was a problem with my web hosts server config...

I had resolved issues with open_basedir, php_safe_mode, and a few other server side issues, but was never able to get to the bottom of it. I didn't have the issue on other hosts, and since moving to a different web host the problem hasn't reoccured.

Thanks for the offer, but not necessary...

/thread