I have a site in RTL style, using Hebrew language pack front and back. I dont speak Hebrew unfortunately.
Whenever a search is conducted an error is produced.
A search results in a url like this:
The error produced is:
Warning: Invalid argument supplied for foreach in
mydomain/plugins/search/content.php on line 254
I have tried disabling plugins and have looked at the code which seems to be a problem connected with counting the actual results - the array of results seems to return zero.
I have noticed the $limit -= in queries which seems like minus the count but cant hack my way around it
Code: Select all
$db->setQuery( $query, 0, $limit );
$list = $db->loadObjectList();
$limit -= count($list);
I see language pagination issues mentioned in the forum but assumed this was a separate issue.
Any pointers welcome