Page MenuHomePhabricator

Undefined index in Language::listToText
Closed, DuplicatePublicPRODUCTION ERROR

Description

Notice: Undefined index: 5 in /srv/mediawiki/php-1.28.0-wmf.12/languages/Language.php on line 3386

Example: logstash sample

https://github.com/wikimedia/mediawiki/blob/wmf/1.28.0-wmf.13/languages/Language.php#L3360-L3386

Event Timeline

This is an old function, which looks save against undefined index, except the note "NOTE: This function will only work with standard numeric array keys (0, 1, 2…)"

stack trace would be nice to see the caller

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:11 PM