Page MenuHomePhabricator

PHP Fatal error: Call to undefined method CirrusSearch::getSort() in extensions/CirrusSearch/includes/CirrusSearch.php on line 74
Closed, ResolvedPublic

Description

Fatal error seen on the beta cluster:

[28-Jan-2014 15:11:49] Fatal error: Call to undefined method CirrusSearch::getSort() at extensions/CirrusSearch/includes/CirrusSearch.php on line 74
Server: i-0000031a
Method: GET
URL: http://simple.wikipedia.beta.wmflabs.org/wiki/Special:Search/Dan_Inosanto
Cookie: XXXXXXXXXXXX
Backtrace:
#0 php-master/extensions/CirrusSearch/includes/CirrusSearch.php(74): CirrusSearch->searchText()
#1 php-master/includes/specials/SpecialSearch.php(264): CirrusSearch->searchText('Dan Inosanto')
#2 php-master/includes/specials/SpecialSearch.php(210): SpecialSearch->showResults('Dan Inosanto')
#3 php-master/includes/specials/SpecialSearch.php(112): SpecialSearch->goResult('Dan Inosanto')
#4 php-master/includes/specialpage/SpecialPage.php(374): SpecialSearch->execute('Dan_Inosanto')
#5 php-master/includes/specialpage/SpecialPageFactory.php(492): SpecialPage->run('Dan_Inosanto')
#6 php-master/includes/Wiki.php(285): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#7 php-master/includes/Wiki.php(586): MediaWiki->performRequest()
#8 php-master/includes/Wiki.php(447): MediaWiki->main()
#9 php-master/index.php(49): MediaWiki->run()
#10 w/index.php(3): require('/data/project/a...')
#11 {main}

Example: http://simple.wikipedia.beta.wmflabs.org/wiki/Special:Search/Dan_Inosanto


Version: master
Severity: normal

Details

Reference
bz60529

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:50 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz60529.
hashar created this task.Jan 28 2014, 3:18 PM

Change 109904 had a related patch set uploaded by Manybubbles:
Only use getSort if it exists

https://gerrit.wikimedia.org/r/109904

Change 109904 merged by Chad:
Only use getSort if it exists

https://gerrit.wikimedia.org/r/109904

(Patch merged; is more work needed or can this be closed?)

Sorry to leave it hanging.