Page MenuHomePhabricator

PHP Warning: Recursion detected in RequestContext::getLanguage during parse of variant
Closed, DeclinedPublicPRODUCTION ERROR

Description

*Message*

[WgyA5QpAAEgAAFVtkSEAAABJ] /w/api.php?page=Template%3AAdvancedSiteNotices%2Fajax&variant=zh-hk&prop=text&action=parse&format=json&maxage=3600&smaxage=3600   ErrorException from line 346 of /srv/mediawiki/php-1.31.0-wmf.7/includes/context/RequestContext.php: PHP Warning: Recursion detected in RequestContext::getLanguage

Logstash URL
*Trace*

	#0 /srv/mediawiki/php-1.31.0-wmf.7/includes/context/RequestContext.php(346): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.31.0-wmf.7/includes/Message.php(380): RequestContext->getLanguage()
#2 /srv/mediawiki/php-1.31.0-wmf.7/includes/Message.php(1281): Message->getLanguage()
#3 /srv/mediawiki/php-1.31.0-wmf.7/includes/Message.php(842): Message->fetchMessage()
#4 /srv/mediawiki/php-1.31.0-wmf.7/includes/Message.php(934): Message->toString(string)
#5 /srv/mediawiki/php-1.31.0-wmf.7/includes/user/User.php(1716): Message->text()
#6 /srv/mediawiki/php-1.31.0-wmf.7/includes/user/User.php(2088): User->getBlockedStatus(boolean)
#7 /srv/mediawiki/php-1.31.0-wmf.7/includes/user/User.php(1246): User->getBlock()
#8 /srv/mediawiki/php-1.31.0-wmf.7/includes/user/User.php(408): User->loadFromSession()
#9 /srv/mediawiki/php-1.31.0-wmf.7/includes/user/User.php(5276): User->load()
#10 /srv/mediawiki/php-1.31.0-wmf.7/includes/user/User.php(2894): User->loadOptions()
#11 /srv/mediawiki/php-1.31.0-wmf.7/includes/context/RequestContext.php(363): User->getOption(string)
#12 /srv/mediawiki/php-1.31.0-wmf.7/includes/context/DerivativeContext.php(291): RequestContext->getLanguage()
#13 /srv/mediawiki/php-1.31.0-wmf.7/includes/content/ContentHandler.php(1014): DerivativeContext->getLanguage()
#14 /srv/mediawiki/php-1.31.0-wmf.7/includes/page/WikiPage.php(1982): ContentHandler->makeParserOptions(DerivativeContext)
#15 /srv/mediawiki/php-1.31.0-wmf.7/includes/api/ApiParse.php(536): WikiPage->makeParserOptions(DerivativeContext)
#16 /srv/mediawiki/php-1.31.0-wmf.7/includes/api/ApiParse.php(163): ApiParse->makeParserOptions(WikiPage, array)
#17 /srv/mediawiki/php-1.31.0-wmf.7/includes/api/ApiMain.php(1582): ApiParse->execute()
#18 /srv/mediawiki/php-1.31.0-wmf.7/includes/api/ApiMain.php(544): ApiMain->executeAction()
#19 /srv/mediawiki/php-1.31.0-wmf.7/includes/api/ApiMain.php(515): ApiMain->executeActionWithErrorHandling()
#20 /srv/mediawiki/php-1.31.0-wmf.7/api.php(94): ApiMain->execute()
#21 /srv/mediawiki/w/api.php(3): include(string)
#22 {main}

Event Timeline

Jdlrobson renamed this task from PHP Warning: Recursion detected in RequestContext::getLanguage to PHP Warning: Recursion detected in RequestContext::getLanguage during parse of variant.Nov 15 2017, 9:17 PM
Jdlrobson updated the task description. (Show Details)

Looks like so. I'll close this one.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:09 PM