Hello,
whenever I do a seach I only get "No results for '...'." The strings I search for are longer than 3 characters and occur in entries. I also have more than 3 entries. I already tried rebuilding the cache, the index, the search index and the tag index. The indexes were recreated but nothing changed. I also tried with different templates. In the debug log I see the following messages:
<div class='timetaken'>2011-05-31 16:55:25 - <span class='timetaken'>0.070</span> -- modules/module_smarty.php:2781 / _smarty_link_entry() -- ( 8393552 ) </div>Can't creat
e entry link since uid isn't set.
<div class='timetaken'>2011-05-31 16:55:25 - <span class='timetaken'>0.099</span> -- modules/module_debug.php:414 / userErrorHandler() -- ( 8734260 ) </div><b>Warning</b>:
Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 494)
<b>Warning</b>: Invalid argument supplied for foreach(). (in <em>'modules/entries_flat.php'</em> on line 500)
I am using PivotX 2.2.6 with flat file db. I do not know since when this occured because my site is rather small so I don't use search that often. I know for sure that it worked with PivotX 2.0.X so it probably stopped working after an upgrade.
Any advice?
Regards,
Christof