Page MenuHomePhabricator

[StickToThatLanguage] PHP Warning: Recursion detected in RequestContext::getLanguage
Closed, DuplicatePublic

Description

[error] [91856095] /wiki/Special:Version   ErrorException from line 325 of /vagrant/mediawiki/includes/context/RequestContext.php: PHP Warning: Recursion detected in RequestContext::getLanguage
#0 /vagrant/mediawiki/includes/Hooks.php(253): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /vagrant/mediawiki/includes/context/RequestContext.php(325): Hooks::hookErrorHandler(integer, string, string, integer, array, array)
#2 /vagrant/mediawiki/includes/StubObject.php(204): RequestContext->getLanguage()
#3 /vagrant/mediawiki/includes/StubObject.php(160): StubUserLang->_newObject()
#4 /vagrant/mediawiki/includes/StubObject.php(104): StubObject->_unstub(string, integer)
#5 /vagrant/mediawiki/includes/StubObject.php(179): StubObject->_call(string, array)
#6 /vagrant/mediawiki/extensions/StickToThatLanguage/StickToThatLanguage.hooks.php(235): StubUserLang->__call(string, array)
#7 /vagrant/mediawiki/includes/Hooks.php(204): STTLanguage\Hooks::onGetLocalUrlInternally(Title, string)
#8 /vagrant/mediawiki/includes/Title.php(1789): Hooks::run(string, array)
#9 /vagrant/mediawiki/includes/Title.php(1688): Title->getLocalURL(string)
#10 /vagrant/mediawiki/extensions/WebPlatformAuth/includes/WebPlatformAuthHooks.php(66): Title->getFullURL()
#11 /vagrant/mediawiki/includes/Hooks.php(204): WebPlatformAuthHooks::onUserLoadAfterLoadFromSession(User)
#12 /vagrant/mediawiki/includes/User.php(369): Hooks::run(string, array)
#13 /vagrant/mediawiki/includes/User.php(5037): User->load()
#14 /vagrant/mediawiki/includes/User.php(2615): User->loadOptions()
#15 /vagrant/mediawiki/includes/context/RequestContext.php(342): User->getOption(string)
#16 /vagrant/mediawiki/includes/StubObject.php(204): RequestContext->getLanguage()
#17 /vagrant/mediawiki/includes/StubObject.php(160): StubUserLang->_newObject()
#18 /vagrant/mediawiki/includes/StubObject.php(104): StubObject->_unstub(string, integer)
#19 /vagrant/mediawiki/includes/StubObject.php(179): StubObject->_call(string, array)
#20 /vagrant/mediawiki/extensions/WikiObjectModel/WikiObjectModel.php(45): StubUserLang->__call(string, array)
#21 /vagrant/mediawiki/extensions/WikiObjectModel/WikiObjectModel.php(57): wfWOMInitLanguage()
#22 /vagrant/mediawiki/includes/Setup.php(712): wfWOMSetupExtension()
#23 /vagrant/mediawiki/includes/WebStart.php(137): include(string)
#24 /vagrant/mediawiki/index.php(38): include(string)
#25 /var/www/w/index.php(5): include(string)
#26 {main}
[recursion-guard] Recursion detected:
#0 /vagrant/mediawiki/includes/StubObject.php(204): RequestContext->getLanguage()
#1 /vagrant/mediawiki/includes/StubObject.php(160): StubUserLang->_newObject()
#2 /vagrant/mediawiki/includes/StubObject.php(104): StubObject->_unstub()
#3 /vagrant/mediawiki/includes/StubObject.php(179): StubObject->_call()
#4 /vagrant/mediawiki/extensions/StickToThatLanguage/StickToThatLanguage.hooks.php(235): StubUserLang->__call()
#5 /vagrant/mediawiki/includes/Hooks.php(204): STTLanguage\Hooks::onGetLocalUrlInternally()
#6 /vagrant/mediawiki/includes/Title.php(1789): Hooks::run()
#7 /vagrant/mediawiki/includes/Title.php(1688): Title->getLocalURL()
#8 /vagrant/mediawiki/extensions/WebPlatformAuth/includes/WebPlatformAuthHooks.php(66): Title->getFullURL()
#9 /vagrant/mediawiki/includes/Hooks.php(204): WebPlatformAuthHooks::onUserLoadAfterLoadFromSession()
#10 /vagrant/mediawiki/includes/User.php(369): Hooks::run()
#11 /vagrant/mediawiki/includes/User.php(5037): User->load()
#12 /vagrant/mediawiki/includes/User.php(2615): User->loadOptions()
#13 /vagrant/mediawiki/includes/context/RequestContext.php(342): User->getOption()
#14 /vagrant/mediawiki/includes/StubObject.php(204): RequestContext->getLanguage()
#15 /vagrant/mediawiki/includes/StubObject.php(160): StubUserLang->_newObject()
#16 /vagrant/mediawiki/includes/StubObject.php(104): StubObject->_unstub()
#17 /vagrant/mediawiki/includes/StubObject.php(179): StubObject->_call()
#18 /vagrant/mediawiki/extensions/WikiObjectModel/WikiObjectModel.php(45): StubUserLang->__call()
#19 /vagrant/mediawiki/extensions/WikiObjectModel/WikiObjectModel.php(57): wfWOMInitLanguage()
#20 /vagrant/mediawiki/includes/Setup.php(712): wfWOMSetupExtension()
#21 /vagrant/mediawiki/includes/WebStart.php(137): include()
#22 /vagrant/mediawiki/index.php(38): include()
#23 /var/www/w/index.php(5): include()
#24 {main}

Event Timeline

Nemo_bis created this task.Sep 13 2015, 7:38 AM
Nemo_bis raised the priority of this task from to Needs Triage.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added a subscriber: Nemo_bis.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 13 2015, 7:38 AM
Liuxinyu970226 set Security to None.Oct 6 2015, 2:02 AM
Liuxinyu970226 added a subscriber: Danwe.
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptFeb 23 2016, 4:13 PM