Loading...
 
Features / Usability

Features / Usability


Rebuild Index Error - Anyone got into this?

posts: 126

Not sure when it started, because I have a cron job to rebuild index, but now I`m getting
Started rebuilding index...
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/lib/wiki/wikilib.php on line 106
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/lib/core/Search/GlobalSource/FreeTagSource.php on line 49

I`m sure it has something to do with trackers, because if I delete all trackers, it stops happening. Also if I disable trackers.

I think it started when I changed this feature: (Format to use for tracker field keys) to Field ID (backward compatibility mode with Tiki 7 and 8). But it didn`t fix just changing it back.

Any ideas?

Thanks!

Fernando

posts: 2695 United States

I recently was having troubles rebuilding my index.
Come to find out I had been using Lucene.
I switched to full MySQL and voila it worked like a champ...
WizarDave


posts: 1811 Catalan Countries

Hi Fernando

Please, submit a bug report about it. And if changing the unified search engine solves it (=avoids it), report that also in the bug report.

Thanks!


posts: 126746 United Kingdom
Alternatively changing the error reporting (on admin/general) to not show warnings might make them go away - warnings are things PHP can ignore and carry on with, so your rebuild should still be finishing properly (is it?)