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?



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...

posts: 1797 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.


posts: 126372
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?)

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.