Rebuilt Search Index fails on OMP3.3.0-6

Hello everyone,
After upgrading to OMP3.3.0-6 the new books can’t find them when searching.
In OJS3.3.0-6 it also happens with new submission but with a rebuildSearchIndex fixit and it works perfect.
Then I run the tools/rebuildSearchIndex.php on the OMP and I got this error message:

$php tools/rebuildSearchIndex.php 

PHP Notice: Undefined property: MonographSearchDAO::$_dataSource in /web/htdocs/libros/classes/search/MonographSearchIndex.inc.php on line 187

PHP Fatal error: Uncaught Error: Call to a member function CacheFlush() on null in /web/htdocs/libros/classes/search/MonographSearchIndex.inc.php:187

Stack trace:

#0 /web/htdocs/libros/tools/rebuildSearchIndex.php(33): MonographSearchIndex->rebuildIndex()

#1 /web/htdocs/libros/tools/rebuildSearchIndex.php(38): rebuildSearchIndex->execute()

#2 {main} thrown in /web/htdocs/libros/classes/search/MonographSearchIndex.inc.php on line 187

So, at this moment I´ have empty submission_search_* tables :frowning:

And obviously when users search the site they find nothing.

HELP PLEASE!

OMP3.3.0-6
PHP7.3
Debian10

Hi @dagosalas,

I’ve filed this for a fix here:

Watch that issue for a quick resolution.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like