Page MenuHomePhabricator

nawiki down: Error: Typed property GrowthExperiments\Mentorship\Provider\CommunityStructuredMentorProvider::$statusFormatter must not be accessed before initialization
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Error: Typed property GrowthExperiments\Mentorship\Provider\CommunityStructuredMentorProvider::$statusFormatter must not be accessed before initialization
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.13/extensions/GrowthExperiments/includes/Mentorship/Provider/CommunityGetMentorDataTrait.php(20)
#0/srv/mediawiki/php-1.44.0-wmf.13/extensions/GrowthExperiments/includes/Mentorship/Provider/AbstractStructuredMentorProvider.php(118)GrowthExperiments\Mentorship\Provider\CommunityStructuredMentorProvider->getMentorData()
#1/srv/mediawiki/php-1.44.0-wmf.13/extensions/GrowthExperiments/includes/Mentorship/Provider/AbstractStructuredMentorProvider.php(134)GrowthExperiments\Mentorship\Provider\AbstractStructuredMentorProvider->getMentors()
#2/srv/mediawiki/php-1.44.0-wmf.13/extensions/GrowthExperiments/includes/Mentorship/Provider/MentorProvider.php(54)GrowthExperiments\Mentorship\Provider\AbstractStructuredMentorProvider->getMentorsSafe()
#3/srv/mediawiki/php-1.44.0-wmf.13/extensions/GrowthExperiments/includes/MentorDashboard/MentorDashboardDiscoveryHooks.php(45)GrowthExperiments\Mentorship\Provider\MentorProvider->isMentor(MediaWiki\User\User)
#4/srv/mediawiki/php-1.44.0-wmf.13/extensions/GrowthExperiments/includes/MentorDashboard/MentorDashboardDiscoveryHooks.php(80)GrowthExperiments\MentorDashboard\MentorDashboardDiscoveryHooks->isDiscoveryEnabled(MediaWiki\User\User)
#5/srv/mediawiki/php-1.44.0-wmf.13/includes/HookContainer/HookContainer.php(155)GrowthExperiments\MentorDashboard\MentorDashboardDiscoveryHooks->onBeforePageDisplay(MediaWiki\Output\OutputPage, MediaWiki\Skins\Vector\SkinVector22)
#6/srv/mediawiki/php-1.44.0-wmf.13/includes/HookContainer/HookRunner.php(992)MediaWiki\HookContainer\HookContainer->run(string, array, array)
#7/srv/mediawiki/php-1.44.0-wmf.13/includes/Output/OutputPage.php(3187)MediaWiki\HookContainer\HookRunner->onBeforePageDisplay(MediaWiki\Output\OutputPage, MediaWiki\Skins\Vector\SkinVector22)
#8/srv/mediawiki/php-1.44.0-wmf.13/includes/actions/ActionEntryPoint.php(162)MediaWiki\Output\OutputPage->output(bool)
#9/srv/mediawiki/php-1.44.0-wmf.13/includes/MediaWikiEntryPoint.php(202)MediaWiki\Actions\ActionEntryPoint->execute()
#10/srv/mediawiki/php-1.44.0-wmf.13/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#11/srv/mediawiki/w/index.php(3)require(string)
#12{main}
Impact
Notes

This kind of error happens using the URL of nawiki's Main Page, https://na.wikipedia.org/wiki/Bwiema_peij , as well as https://na.wikipedia.org/ and (for example) https://na.wikipedia.org/wiki/Special:Random . Apparently no page from the Nauruan Wikipedia can be served up at the moment.

However, the API query https://na.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=xml does work.

Details

Request URL
https://na.wikipedia.org/wiki/Bwiema_peij

Event Timeline

Please add/modify whatever you need to in the Description. Not entirely sure how to report this correctly.

Noticed this about 20 minutes ago, as I was going through checking all existing language editions of Wikipedia (for reasons irrelevant to this report). Being a closed wiki, this was the second-to-last wiki I checked. All others are working fine.

LucasWerkmeister triaged this task as Unbreak Now! priority.Jan 25 2025, 1:17 PM
LucasWerkmeister subscribed.

I think a wiki being completely down qualifies for UBN! status.

Lucas_Werkmeister_WMDE renamed this task from Original exception: [1c08641d-13a4-47af-9fb3-1472a1a32d1d] 2025-01-25 09:19:35: Fatal exception of type "Error" to nawiki down: Error: Typed property GrowthExperiments\Mentorship\Provider\CommunityStructuredMentorProvider::$statusFormatter must not be accessed before initialization.Jan 25 2025, 1:20 PM
Lucas_Werkmeister_WMDE updated the task description. (Show Details)

Turns out this was already reported and even fixed, but not backported…