Page MenuHomePhabricator

[SiteSettings] Language::isValidBuiltInCode must be passed a string, NULL given
Open, Needs TriagePublic

Description

With SiteSettings, installing with install.php --with-extensions yields:

00:01:04.983 Copying IP revisions to ip_changes, from rev_id 0 to rev_id 1
00:01:04.983 ...checking 1 revisions for IP edits that need copying, between rev_ids 0 and 1
00:01:04.983 Attempted to insert 0 IP revisions, 0 actually done.
00:01:04.993 Purging caches...done.
00:01:04.995 [28c2d15ba2033216bef5bfab] [no req]   MWException from line 369 of /workspace/src/languages/Language.php: Language::isValidBuiltInCode must be passed a string, NULL given
00:01:04.995 Backtrace:
00:01:04.995 #0 /workspace/src/includes/cache/localisation/LocalisationCache.php(451): Language::isValidBuiltInCode(NULL)
00:01:04.996 #1 /workspace/src/includes/cache/localisation/LocalisationCache.php(334): LocalisationCache->initLanguage(NULL)
00:01:04.996 #2 /workspace/src/includes/cache/localisation/LocalisationCache.php(271): LocalisationCache->loadItem(NULL, string)
00:01:04.996 #3 /workspace/src/languages/Language.php(3376): LocalisationCache->getItem(NULL, string)
00:01:04.997 #4 /workspace/src/languages/Language.php(3311): Language->digitGroupingPattern()
00:01:04.997 #5 /workspace/src/languages/Language.php(3252): Language->commafy(string)
00:01:04.997 #6 /workspace/src/languages/Language.php(4696): Language->formatNum(string)
00:01:04.997 #7 /workspace/src/maintenance/update.php(225): Language->formatTimePeriod(double)
00:01:04.997 #8 /workspace/src/maintenance/doMaintenance.php(94): UpdateMediaWiki->execute()
00:01:04.998 #9 /workspace/src/maintenance/update.php(245): require_once(string)
00:01:04.998 #10 {main}

Event Timeline

hashar created this task.Jun 5 2018, 8:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 5 2018, 8:10 PM
hashar renamed this task from [SiteSettings] to [SiteSettings] Language::isValidBuiltInCode must be passed a string, NULL given.Jun 5 2018, 8:11 PM
Vvjjkkii renamed this task from [SiteSettings] Language::isValidBuiltInCode must be passed a string, NULL given to vkbaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from vkbaaaaaaa to [SiteSettings] Language::isValidBuiltInCode must be passed a string, NULL given.Jul 1 2018, 8:16 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Change 454298 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] SiteSettings extension is broken

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

Change 454298 merged by jenkins-bot:
[integration/config@master] SiteSettings extension is broken

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