Page MenuHomePhabricator

Error: Call to a member function exists() on null
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   Error: Call to a member function exists() on null
error.stack_trace
from /srv/mediawiki/php-1.42.0-wmf.21/extensions/WikimediaIncubator/includes/WikimediaIncubator.php(880)
#0 /srv/mediawiki/php-1.42.0-wmf.21/extensions/WikimediaIncubator/includes/WikimediaIncubator.php(780): MediaWiki\Extension\WikimediaIncubator\WikimediaIncubator::getMainPage(string, string)
#1 /srv/mediawiki/php-1.42.0-wmf.21/extensions/WikimediaIncubator/includes/WikimediaIncubator.php(710): MediaWiki\Extension\WikimediaIncubator\WikimediaIncubator::onShowMissingArticleForInfoPages(Article, array)
#2 /srv/mediawiki/php-1.42.0-wmf.21/includes/HookContainer/HookContainer.php(159): MediaWiki\Extension\WikimediaIncubator\WikimediaIncubator->onShowMissingArticle(Article)
#3 /srv/mediawiki/php-1.42.0-wmf.21/includes/HookContainer/HookRunner.php(3450): MediaWiki\HookContainer\HookContainer->run(string, array)
#4 /srv/mediawiki/php-1.42.0-wmf.21/includes/page/Article.php(1512): MediaWiki\HookContainer\HookRunner->onShowMissingArticle(Article)
#5 /srv/mediawiki/php-1.42.0-wmf.21/includes/page/Article.php(649): Article->showMissingArticle()
#6 /srv/mediawiki/php-1.42.0-wmf.21/includes/page/Article.php(563): Article->generateContentOutput(MediaWiki\User\User, ParserOptions, integer, MediaWiki\Output\OutputPage, array)
#7 /srv/mediawiki/php-1.42.0-wmf.21/includes/actions/ViewAction.php(78): Article->view()
#8 /srv/mediawiki/php-1.42.0-wmf.21/includes/actions/ActionEntryPoint.php(733): ViewAction->show()
#9 /srv/mediawiki/php-1.42.0-wmf.21/includes/actions/ActionEntryPoint.php(510): MediaWiki\Actions\ActionEntryPoint->performAction(Article, MediaWiki\Title\Title)
#10 /srv/mediawiki/php-1.42.0-wmf.21/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest()
#11 /srv/mediawiki/php-1.42.0-wmf.21/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute()
#12 /srv/mediawiki/php-1.42.0-wmf.21/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#13 /srv/mediawiki/w/index.php(3): require(string)
#14 {main}
Impact
Notes

Details

MediaWiki Version
1.42.0-wmf.21
Request URL
https://incubator.wikimedia.org/wiki/Wy/chn

Event Timeline

Change 1011279 had a related patch set uploaded (by Hashar; author: Hashar):

[mediawiki/extensions/WikimediaIncubator@master] Handle invalid/empty main page title

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

Change 1011282 had a related patch set uploaded (by Hashar; author: Hashar):

[mediawiki/core@master] i18n: make chn "mainpage" a valid title

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

hashar added a project: I18n.

After some investigation, the issue is the mainpage i18n message for the chn language is an invalid Title!

Change 1011282 merged by jenkins-bot:

[mediawiki/core@master] i18n: make chn "mainpage" a valid title

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

Change 1011279 merged by jenkins-bot:

[mediawiki/extensions/WikimediaIncubator@master] Handle invalid/empty main page title

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

I went to https://incubator.wikimedia.org/wiki/Wp/chn which has a link to Main_Page which brings me to https://incubator.wikimedia.org/wiki/Wp/chn/Tayi-pipa So I guess it is fixed :)