Page MenuHomePhabricator

Homepage module 'GrowthExperiments\HomepageModules\Mentorship' cannot be rendered.
Closed, ResolvedPublic

Description

Error

Request URL: /w/index.php?title=%ED%8A%B9%EC%88%98:%ED%99%88%ED%8E%98%EC%9D%B4%EC%A7%80&source=userpagetab&namespace=2
Request ID: XT3L@gpAMFgAAAm8AakAAAAY

message
Homepage module 'GrowthExperiments\HomepageModules\Mentorship' cannot be rendered. Call to a member function getName() on a non-object (null) #0 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/HomepageModules/Mentorship.php(67): GrowthExperiments\HomepageModules\Mentorship->getMentorUsernameElement()
#1 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(127): GrowthExperiments\HomepageModules\Mentorship->getBody()
#2 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(81): GrowthExperiments\HomepageModules\BaseModule->renderMobileDetailsForOverlay()
#3 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(305): GrowthExperiments\HomepageModules\BaseModule->getDataForOverlay()
#4 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(115): GrowthExperiments\Specials\SpecialHomepage->outputDataForMobileOverlay()
#5 /srv/mediawiki/php-1.34.0-wmf.15/includes/specialpage/SpecialPage.php(571): GrowthExperiments\Specials\SpecialHomepage->execute()
#6 /srv/mediawiki/php-1.34.0-wmf.15/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run()
#7 /srv/mediawiki/php-1.34.0-wmf.15/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath()
#8 /srv/mediawiki/php-1.34.0-wmf.15/includes/MediaWiki.php(892): MediaWiki->performRequest()
#9 /srv/mediawiki/php-1.34.0-wmf.15/includes/MediaWiki.php(523): MediaWiki->main()
#10 /srv/mediawiki/php-1.34.0-wmf.15/index.php(42): MediaWiki->run()
#11 /srv/mediawiki/w/index.php(3): include()
#12 {main}
trace
#0 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/HomepageModules/Mentorship.php(67): GrowthExperiments\HomepageModules\Mentorship->getMentorUsernameElement()
#1 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(127): GrowthExperiments\HomepageModules\Mentorship->getBody()
#2 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php(81): GrowthExperiments\HomepageModules\BaseModule->renderMobileDetailsForOverlay()
#3 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(305): GrowthExperiments\HomepageModules\BaseModule->getDataForOverlay()
#4 /srv/mediawiki/php-1.34.0-wmf.15/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(115): GrowthExperiments\Specials\SpecialHomepage->outputDataForMobileOverlay()
#5 /srv/mediawiki/php-1.34.0-wmf.15/includes/specialpage/SpecialPage.php(571): GrowthExperiments\Specials\SpecialHomepage->execute()
#6 /srv/mediawiki/php-1.34.0-wmf.15/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run()
#7 /srv/mediawiki/php-1.34.0-wmf.15/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath()
#8 /srv/mediawiki/php-1.34.0-wmf.15/includes/MediaWiki.php(892): MediaWiki->performRequest()
#9 /srv/mediawiki/php-1.34.0-wmf.15/includes/MediaWiki.php(523): MediaWiki->main()
#10 /srv/mediawiki/php-1.34.0-wmf.15/index.php(42): MediaWiki->run()
#11 /srv/mediawiki/w/index.php(3): include()
#12 {main}

Impact

Homepage module did not render for this user.

Notes

This seems to be occurring more frequently lately (last week), possibly due to increased homepage discovery rates. It's most prevalent on arwiki.

Link to query: https://logstash.wikimedia.org/goto/a62e96326988bcf8e36fdcab0752ff23

Event Timeline

kostajh created this task.Jul 29 2019, 3:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 29 2019, 3:02 PM
kostajh updated the task description. (Show Details)Jul 29 2019, 3:02 PM

Looking at the graph again, along with other errors about being unable to assign a mentor, at least some of this may be fallout from moving the mentors list page from its configuration-designated location to a new location (T228991#5367525).

@kostajh -- how common is this? What percent of users are not getting a mentorship module?

@kostajh -- how common is this? What percent of users are not getting a mentorship module?

This seems to happen infrequently. In the past 7 days, it's happened twice on Aug 4, 10 times on July 31 (of which 9 within an hour), and once on July 30.

Change 530822 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] Homepage: Adjust Mentor assignment in LocalUserCreated

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

Change 530822 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Homepage: Adjust Mentor assignment in LocalUserCreated

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

Etonkovidova closed this task as Resolved.Wed, Aug 28, 10:34 PM
mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:05 PM