I followed the instructions to install the SearchFeed Mediawiki extension (Mediawiki 1.11.0) and I get the following errors (when I have debugging on):
Code:
Internal error
Detected bug in an extension! Hook SearchFeed::loadMessages failed to return a value; should return true to continue hook processing or false to abort.
Backtrace:
#0 /mnt/fs/html/manual/includes/MessageCache.php(683): wfRunHooks('LoadAllMessages')
#1 /mnt/fs/html/manual/includes/User.php(2531): MessageCache->loadAllMessages()
#2 /mnt/fs/html/manual/includes/Title.php(1189): User::getGroupName('user')
#3 /mnt/fs/html/manual/includes/Title.php(1024): Title->getUserPermissionsErrorsInternal('edit', Object(User), false)
#4 /mnt/fs/html/manual/includes/Title.php(996): Title->userCan('edit', false)
#5 /mnt/fs/html/manual/includes/ParserCache.php(33): Title->quickUserCan('edit')
#6 /mnt/fs/html/manual/includes/ParserCache.php(46): ParserCache->getKey(Object(Article), Object(User))
#7 /mnt/fs/html/manual/includes/Article.php(687): ParserCache->getETag(Object(Article), Object(User))
#8 /mnt/fs/html/manual/includes/Wiki.php(383): Article->view()
#9 /mnt/fs/html/manual/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#10 /mnt/fs/html/manual/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
#11 {main}
I was able to fix this by modifying SearchFeed_body.php and adding return false; to LoadMessages() at the bottom of the function. However, it seems that when I search for something that should return results, it just hangs. When no results are found it returns the feed instantly.