Page MenuHomePhabricator

Exception caught when updating
Closed, ResolvedPublic

Description

[0fcaff2157a3250a3ab5cce0] [no req]   UnexpectedValueException from line 187 of /var/www/html/w/includes/libs/MapCacheLRU.php: The value of 'en' is not an array.
Backtrace:
#0 /var/www/html/w/includes/cache/MessageCache.php(992): MapCacheLRU->setField(string, string, string)
#1 /var/www/html/w/includes/cache/MessageCache.php(900): MessageCache->getMsgFromNamespace(string, string)
#2 /var/www/html/w/includes/cache/MessageCache.php(868): MessageCache->getMessageForLang(LanguageEn, string, boolean, array)
#3 /var/www/html/w/includes/cache/MessageCache.php(808): MessageCache->getMessageFromFallbackChain(LanguageEn, string, boolean)
#4 /var/www/html/w/includes/Message.php(1297): MessageCache->get(string, boolean, LanguageEn)
#5 /var/www/html/w/includes/Message.php(849): Message->fetchMessage()
#6 /var/www/html/w/includes/Message.php(941): Message->toString(string)
#7 /var/www/html/w/extensions/AbuseFilter/includes/AbuseFilterHooks.php(610): Message->text()
#8 /var/www/html/w/includes/installer/DatabaseUpdater.php(483): AbuseFilterHooks::createAbuseFilterUser(SqliteUpdater)
#9 /var/www/html/w/includes/installer/DatabaseUpdater.php(451): DatabaseUpdater->runUpdates(array, boolean)
#10 /var/www/html/w/maintenance/update.php(200): DatabaseUpdater->doUpdates(array)
#11 /var/www/html/w/maintenance/doMaintenance.php(94): UpdateMediaWiki->execute()
#12 /var/www/html/w/maintenance/update.php(245): require_once(string)
#13 {main}

Event Timeline

I'm not sure this is due to AbuseFilter itself; sounds like a problem with i18n instead. Is your wiki configuration correct? I don't know much of the message-related code, but this shouldn't really happen. After all, all AF does is retrieve a message and translate it to content language. Since the AF code is correct, I suspect the problem originates somewhere else.

PlavorSeol claimed this task.

Resolved on MediaWiki 1.32.0-wmf.16

PlavorSeol updated the task description. (Show Details)