Page MenuHomePhabricator

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

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}

Event Timeline

mmodell added a subscriber: Jdrewniak.

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 claimed this task.
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:10 PM