Page MenuHomePhabricator

Undefined index: name in includes/specials/SpecialVersion.php
Closed, DeclinedPublicPRODUCTION ERROR

Description

Nov 24 16:39:05 deployment-mediawiki01 hhvm: #012Notice: Undefined index: name in /srv/mediawiki/php-master/includes/specials/SpecialVersion.php on line 606
Nov 24 16:39:05 deployment-mediawiki01 hhvm: #012Notice: Undefined index: name in /srv/mediawiki/php-master/includes/specials/SpecialVersion.php on line 609

Apparently some $wgExtensionCredits items do not have a name attribute for sorting.

The failures are from:

public function compare( $a, $b ) {
    if ( $a['name'] === $b['name'] ) {
        return 0;
    } else {
        return $this->getLanguage()->lc( $a['name'] ) > $this->getLanguage()->lc( $b['name'] )
            ? 1
            : -1;
    }
}

Event Timeline

bd808 raised the priority of this task from to Needs Triage.
bd808 updated the task description. (Show Details)
bd808 changed Security from none to None.
bd808 subscribed.
Aklapper triaged this task as Medium priority.Nov 24 2014, 8:51 PM

Setting normal priority, but no idea if that causes a fatal issues with page rendering or just a warning on the shell. Feel free to correct me.

Setting normal priority, but no idea if that causes a fatal issues with page rendering or just a warning on the shell. Feel free to correct me.

It's just a warning message if your PHP logging settings are turned up high enough to notice it. Not horrible, just avoidable log spam (or possibly a sign of something misconfigured in the WMF extension settings).

Also this no longer appears to be happening.

Aklapper lowered the priority of this task from Medium to Lowest.May 20 2015, 3:11 PM

Also this no longer appears to be happening.

Lowering priority

Krinkle subscribed.

Not seen in WMF Logstash for at least 30 days.

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