Page MenuHomePhabricator

Call to a member function getDifficulty() on null
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.16

message
Call to a member function getDifficulty() on null

Impact

Server-side rendering of the suggested edits module fails, and the entire module does not display.

Notes

Seems to only be seen on kowiki. It's because we're trying to access the default "links" task type which doesn't exist on kowiki. The error was first seen on November 9.

Details

Request ID
c5b17458-bc92-46ad-859d-a93395027df0
Request URL
https://ko.wikipedia.org/w/index.php?title=%ED%8A%B9%EC%88%98:%ED%99%88%ED%8E%98%EC%9D%B4%EC%A7%80&source=specialwelcomesurvey
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/HomepageModules/SuggestedEdits.php(371): GrowthExperiments\HomepageModules\SuggestedEdits->getFiltersButtonGroupWidget()
#1 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(143): GrowthExperiments\HomepageModules\SuggestedEdits->getBody()
#2 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(125): GrowthExperiments\HomepageModules\BaseModule->renderDesktop()
#3 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/HomepageModules/SuggestedEdits.php(245): GrowthExperiments\HomepageModules\BaseModule->getHtml()
#4 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(85): GrowthExperiments\HomepageModules\SuggestedEdits->getHtml()
#5 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(313): GrowthExperiments\HomepageModules\BaseModule->render(string)
#6 /srv/mediawiki/php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(158): GrowthExperiments\Specials\SpecialHomepage->renderDesktop()
#7 /srv/mediawiki/php-1.36.0-wmf.16/includes/specialpage/SpecialPage.php(607): GrowthExperiments\Specials\SpecialHomepage->execute(NULL)
#8 /srv/mediawiki/php-1.36.0-wmf.16/includes/specialpage/SpecialPageFactory.php(1168): SpecialPage->run(NULL)
#9 /srv/mediawiki/php-1.36.0-wmf.16/includes/MediaWiki.php(310): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#10 /srv/mediawiki/php-1.36.0-wmf.16/includes/MediaWiki.php(943): MediaWiki->performRequest()
#11 /srv/mediawiki/php-1.36.0-wmf.16/includes/MediaWiki.php(546): MediaWiki->main()
#12 /srv/mediawiki/php-1.36.0-wmf.16/index.php(53): MediaWiki->run()
#13 /srv/mediawiki/php-1.36.0-wmf.16/index.php(46): wfIndexMain()
#14 /srv/mediawiki/w/index.php(3): require(string)
#15 {main}

Event Timeline

Change 641419 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] Suggested Edits: Guard against task type not existing

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

Change 641293 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@wmf/1.36.0-wmf.16] Suggested Edits: Guard against task type not existing

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

Change 641419 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Suggested Edits: Guard against task type not existing

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

Change 641293 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@wmf/1.36.0-wmf.16] Suggested Edits: Guard against task type not existing

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

Mentioned in SAL (#wikimedia-operations) [2020-11-17T12:55:16Z] <lucaswerkmeister-wmde@deploy1001> Synchronized php-1.36.0-wmf.16/extensions/GrowthExperiments/includes/HomepageModules/SuggestedEdits.php: Backport: [[gerrit:641293|Suggested Edits: Guard against task type not existing (T268012)]] (duration: 00m 58s)

Change 641294 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@wmf/1.36.0-wmf.18] Suggested Edits: Guard against task type not existing

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

Change 641294 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@wmf/1.36.0-wmf.18] Suggested Edits: Guard against task type not existing

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

Mentioned in SAL (#wikimedia-operations) [2020-11-18T00:53:02Z] <tgr_> also deployed [[gerrit:641294|Suggested Edits: Guard against task type not existing (T268012)]]

Etonkovidova subscribed.

Checked in kowiki betalabs and kowiki .

Change 641590 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/core@master] Structure test for Job constructors

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