Page MenuHomePhabricator

Language::isValidBuiltInCode must be passed a string, NULL given
Closed, ResolvedPublic

Description

Current head MW, seen locally:

exception 'MWException' with message 'Language::isValidBuiltInCode must be passed a string, NULL given' in /var/www/wiki/mediawiki/core/languages/Language.php:256
Stack trace:
#0 /var/www/wiki/mediawiki/core/languages/Language.php(188): Language::isValidBuiltInCode(NULL)
#1 /var/www/wiki/mediawiki/core/languages/Language.php(169): Language::newFromCode(NULL)
#2 /var/www/wiki/mediawiki/core/includes/resourceloader/ResourceLoaderContext.php(164): Language::factory(NULL)
#3 /var/www/wiki/mediawiki/core/includes/resourceloader/ResourceLoaderModule.php(117): ResourceLoaderContext->getDirection()
#4 /var/www/wiki/mediawiki/core/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php(87): ResourceLoaderModule->getFlip(Object(ResourceLoaderContext))
#5 /var/www/wiki/mediawiki/core/includes/resourceloader/ResourceLoader.php(721): ResourceLoaderUserCSSPrefsModule->getStyles(Object(ResourceLoaderContext))
#6 /var/www/wiki/mediawiki/core/includes/OutputPage.php(2631): ResourceLoader->makeModuleResponse(Object(ResourceLoaderContext), Array)
#7 /var/www/wiki/mediawiki/core/includes/OutputPage.php(3405): OutputPage->makeResourceLoaderLink(Array, 'styles')
#8 /var/www/wiki/mediawiki/core/includes/OutputPage.php(2428): OutputPage->buildCssLinks()
#9 /var/www/wiki/mediawiki/core/includes/SkinTemplate.php(461): OutputPage->headElement(Object(SkinVector))
#10 /var/www/wiki/mediawiki/core/includes/OutputPage.php(2003): SkinTemplate->outputPage()
#11 /var/www/wiki/mediawiki/core/includes/Wiki.php(405): OutputPage->output()
#12 /var/www/wiki/mediawiki/core/includes/Wiki.php(593): MediaWiki->finalCleanup()
#13 /var/www/wiki/mediawiki/core/includes/Wiki.php(502): MediaWiki->main()
#14 /var/www/wiki/mediawiki/core/index.php(58): MediaWiki->run()
#15 {main}


Version: 1.20.x
Severity: normal

Details

Reference
bz36992

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:24 AM
bzimport set Reference to bz36992.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 36988 ***