Page MenuHomePhabricator

Global default '' is invalid for field incubatortestwiki-code
Closed, DuplicatePublicPRODUCTION ERROR

Description

Spotted in production:

/w/api.php MWException from line 150 of /srv/mediawiki/php-1.29.0-wmf.12/includes/Preferences.php: Global default '' is invalid for field incubatortestwiki-code

Event Timeline

demon triaged this task as Medium priority.Feb 22 2017, 8:40 PM
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:10 PM

Stil seen.

normalized_message
[{reqId}] {exception_url}   MWException: Default 'null' is invalid for preference incubatortestwiki-code
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.2/includes/preferences/DefaultPreferencesFactory.php(298)
#0 /srv/mediawiki/php-1.38.0-wmf.2/includes/preferences/DefaultPreferencesFactory.php(250): MediaWiki\Preferences\DefaultPreferencesFactory->loadPreferenceValues(User, DerivativeContext, array)
#1 /srv/mediawiki/php-1.38.0-wmf.2/extensions/GlobalPreferences/includes/GlobalPreferencesFactory.php(117): MediaWiki\Preferences\DefaultPreferencesFactory->getFormDescriptor(User, DerivativeContext)
#2 /srv/mediawiki/php-1.38.0-wmf.2/includes/api/ApiOptions.php(207): GlobalPreferences\GlobalPreferencesFactory->getFormDescriptor(User, DerivativeContext)
#3 /srv/mediawiki/php-1.38.0-wmf.2/includes/api/ApiOptions.php(114): ApiOptions->getPreferences()
#4 /srv/mediawiki/php-1.38.0-wmf.2/includes/api/ApiMain.php(1877): ApiOptions->execute()
#5 /srv/mediawiki/php-1.38.0-wmf.2/includes/api/ApiMain.php(856): ApiMain->executeAction()
#6 /srv/mediawiki/php-1.38.0-wmf.2/includes/api/ApiMain.php(827): ApiMain->executeActionWithErrorHandling()
#7 /srv/mediawiki/php-1.38.0-wmf.2/api.php(90): ApiMain->execute()
#8 /srv/mediawiki/php-1.38.0-wmf.2/api.php(45): wfApiMain()
#9 /srv/mediawiki/w/api.php(3): require(string)
#10 {main}