Thread:Project:Support desk/Exception thrown while uploading documents - ezMediawikiLuceneSaveHook failed to return a value

Team, I am performing a RHEL 6 migration for the mediawiki application. The configuration and setup is complete. We experience a issue, while UPLOADING any document. While uploading document, the document is being uploaded successfully [ confirmed from logs] Once upload is done, I get an Exception thrown as shown below: [ Lucene indexing is not performed - this is my understanding] Support is required.

Exception thrown on screen after uploading :

Internal error Detected bug in an extension! Hook ezMediawikiLuceneSaveHook failed to return a value; should return true to continue hook processing or false to abort. Backtrace:
 * 1) 0 /apps/htdocs/wikey/includes/Article.php(1564): wfRunHooks('ArticleSaveComp...', Array)
 * 2) 1 /apps/htdocs/wikey/includes/filerepo/LocalFile.php(898): Article->doEdit(, , 9)
 * 3) 2 /apps/htdocs/wikey/includes/filerepo/LocalFile.php(739): LocalFile->recordUpload2(, , '', Array, false)
 * 4) 3 /apps/htdocs/wikey/includes/specials/SpecialUpload.php(573): LocalFile->upload('/tmp/phpCou7Gk', , , 1, Array)
 * 5) 4 /apps/htdocs/wikey/includes/specials/SpecialUpload.php(291): UploadForm->internalProcessUpload(NULL)
 * 6) 5 /apps/htdocs/wikey/includes/specials/SpecialUpload.php(273): UploadForm->processUpload
 * 7) 6 /apps/htdocs/wikey/includes/specials/SpecialUpload.php(14): UploadForm->execute
 * 8) 7 [internal function]: wfSpecialUpload(NULL, Object(SpecialPage))
 * 9) 8 /apps/htdocs/wikey/includes/SpecialPage.php(748): call_user_func('wfSpecialUpload', NULL, Object(SpecialPage))
 * 10) 9 /apps/htdocs/wikey/includes/SpecialPage.php(534): SpecialPage->execute(NULL)
 * 11) 10 /apps/htdocs/wikey/includes/Wiki.php(224): SpecialPage::executePath(Object(Title))
 * 12) 11 /apps/htdocs/wikey/includes/Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 13) 12 /apps/htdocs/wikey/index.php(93): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
 * 14) 13 {main}

Debug logs:

Fully initialised Connecting to cwb02qwikid01:3306 wiki... Connected MessageCache::load: Loading en... got from global cache

WebRequest::getFileName 'aaaa.xls' normalized to 'aaaa.xls' User::isBlocked: enter User::getBlockedStatus: checking... IP: 10.20.150.225 Block::load: '', '2908', 1 User::getBlockedStatus: No block. User::isBlockedFrom: enter User::isBlockedFrom: asking isBlocked User::isBlocked: enter User::getBlockedStatus: already loaded. User::isBlockedFrom: enter User::isBlockedFrom: asking isBlocked User::isBlocked: enter User::getBlockedStatus: already loaded. User::isBlockedFrom: enter User::isBlockedFrom: asking isBlocked User::isBlocked: enter User::getBlockedStatus: already loaded. File::getPropsFromPath: Getting file info for /tmp/phpCou7Gk MimeMagic::__construct: loading mime types from /apps/htdocs/wikey/includes/mime.types MimeMagic::__construct: loading mime info from /apps/htdocs/wikey/includes/mime.info MimeMagic::guessMimeType: internal type detection failed for /tmp/phpCou7Gk (.xls)... MimeMagic::detectMimeType: magic mime type of /tmp/phpCou7Gk: application/vnd.ms-excel MimeMagic::guessMimeType: final mime type of /tmp/phpCou7Gk: application/vnd.ms-excel MediaHandler::getHandler: no handler found for application/vnd.ms-excel. File::getPropsFromPath: /tmp/phpCou7Gk loaded, 603648 bytes, application/vnd.ms-excel. MacBinary::loadHeader: header bytes 0 and 74 not null MimeMagic::guessMimeType: internal type detection failed for /tmp/phpCou7Gk (.)... MimeMagic::detectMimeType: magic mime type of /tmp/phpCou7Gk: application/vnd.ms-excel MimeMagic::guessMimeType: final mime type of /tmp/phpCou7Gk: application/vnd.ms-excel SpecialUpload::detectScript: checking for embedded scripts and HTML stuff SpecialUpload::detectScript: no scripts found UploadForm::detectVirus: virus scanner disabled UploadForm::verify: all clear; passing. 1 FSRepo::publishBatch: wrote tempfile /tmp/phpCou7Gk to /apps/htdocs/wikey/images/3/38/Aaaa.xls

Article::editUpdates: No vary-revision, using prepared edit... Saved in parser cache with key wiki:pcache:idhash:22866-0!1!0!!en!2 and timestamp 20140203133132

/wikey/index.php?title=Special:Upload&amp;httpUpload=true Exception from line 141 of /apps/htdocs/wikey/includes/Hooks.php: Detected bug in an extension! Hook ezMediawikiLuceneSaveHook failed to return a value; should return true to continue hook processing or false to abort.