Last modified: 2014-10-10 13:03:30 UTC
Accessing [[Special:Search]]: Notice: Undefined index: help in /home/jesus/git/mediawiki/core/includes/GlobalFunctions.php on line 289 Running master (both MediaWiki core and LQT) adding this inside wfArrayInsertAfter() in GlobalFunctions.php gives this nice backtrace: if ( !array_key_exists ( $after, $offsetByKey )) { wfDebugDieBacktrace( "Invalid offset: $after, " . print_r( $offsetByKey, true )); } /index.php?title=Especial%3ABuscar Exception from line 1836 of /home/jesus/git/mediawiki/core/includes/GlobalFunctions.php: Invalid offset: help, Array ( [default] => 0 [images] => 1 [all] => 2 [advanced] => 3 ) Backtrace: #0 /home/jesus/git/mediawiki/core/includes/GlobalFunctions.php(292): wfDebugDieBacktrace(string) #1 /home/jesus/git/mediawiki/extensions/LiquidThreads/classes/Hooks.php(337): wfArrayInsertAfter(array, array, string) #2 [internal function]: LqtHooks::customiseSearchProfiles(array) #3 /home/jesus/git/mediawiki/core/includes/Hooks.php(206): call_user_func_array(string, array) #4 /home/jesus/git/mediawiki/core/includes/GlobalFunctions.php(4062): Hooks::run(string, array, NULL) #5 /home/jesus/git/mediawiki/core/includes/specials/SpecialSearch.php(1040): wfRunHooks(string, array) #6 /home/jesus/git/mediawiki/core/includes/specials/SpecialSearch.php(135): SpecialSearch->getSearchProfiles() #7 /home/jesus/git/mediawiki/core/includes/specials/SpecialSearch.php(97): SpecialSearch->load() #8 /home/jesus/git/mediawiki/core/includes/specialpage/SpecialPage.php(380): SpecialSearch->execute(NULL) #9 /home/jesus/git/mediawiki/core/includes/specialpage/SpecialPageFactory.php(510): SpecialPage->run(NULL) #10 /home/jesus/git/mediawiki/core/includes/Wiki.php(288): SpecialPageFactory::executePath(Title, RequestContext) #11 /home/jesus/git/mediawiki/core/includes/Wiki.php(603): MediaWiki->performRequest() #12 /home/jesus/git/mediawiki/core/includes/Wiki.php(452): MediaWiki->main() #13 /home/jesus/git/mediawiki/core/index.php(46): MediaWiki->run() #14 {main} May happen in REL1_23 too Apparently, it's trying to set up custom search group before help, but help has been removed. Since it's a NOTICE, it shouldn't pop up in production servers.
*** Bug 66825 has been marked as a duplicate of this bug. ***
Fixed by Nikerabbit a while ago: 4a9a39101c1e7d12218116d26f135dc4ff31ac3a