Thread:Extension talk:Zend Search Lucene for MediaWiki/No search result./reply (26)

Next place the array definition below the if statement to see if the error still accours.