Call to a member function hasInterwikiResults() on a non-object (null)
Closed, ResolvedPublic

Description

Low frequency but this is showing up in production logs:

Call to a member function hasInterwikiResults() on a non-object (null)

at: includes/specials/SpecialSearch.php:359

Stack:

#0 /srv/mediawiki/php-1.30.0-wmf.1/includes/specials/SpecialSearch.php(185): SpecialSearch->showResults(string)
#1 /srv/mediawiki/php-1.30.0-wmf.1/includes/specialpage/SpecialPage.php(522): SpecialSearch->execute(NULL)
#2 /srv/mediawiki/php-1.30.0-wmf.1/includes/specialpage/SpecialPageFactory.php(578): SpecialPage->run(NULL)
#3 /srv/mediawiki/php-1.30.0-wmf.1/includes/MediaWiki.php(287): SpecialPageFactory::executePath(Title, RequestContext)
#4 /srv/mediawiki/php-1.30.0-wmf.1/includes/MediaWiki.php(862): MediaWiki->performRequest()
#5 /srv/mediawiki/php-1.30.0-wmf.1/includes/MediaWiki.php(523): MediaWiki->main()
#6 /srv/mediawiki/php-1.30.0-wmf.1/index.php(43): MediaWiki->run()
#7 /srv/mediawiki/w/index.php(3): include(string)
#8 {main}
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 11 2017, 7:52 PM
mmodell triaged this task as High priority.May 11 2017, 7:56 PM
mmodell added a subscriber: Jdrewniak.

I've got a fix coming right up.

Change 353371 had a related patch set uploaded (by 20after4; owner: 20after4):
[mediawiki/core@master] Check for null before calling a textResults method to (fixes T165091)

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

Change 353372 had a related patch set uploaded (by 20after4; owner: 20after4):
[mediawiki/core@wmf/1.30.0-wmf.1] Check for null before calling a textResults method to (fixes T165091)

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

Change 353372 merged by 20after4:
[mediawiki/core@wmf/1.30.0-wmf.1] Check for null before calling a textResults method to (fixes T165091)

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

Mentioned in SAL (#wikimedia-operations) [2017-05-11T21:19:42Z] <twentyafterfour@tin> Synchronized php-1.30.0-wmf.1/includes/specials/SpecialSearch.php: hotfix T165091 (duration: 00m 39s)

Change 353371 merged by jenkins-bot:
[mediawiki/core@master] Check for null before calling a textResults method to (fixes T165091)

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

mmodell closed this task as Resolved.May 11 2017, 10:01 PM
mmodell claimed this task.