Page MenuHomePhabricator

wfAjaxCollectionSetTitles expects at least 2 parameters, 1 given
Closed, DuplicatePublicPRODUCTION ERROR

Description

Seen in logstash:

Warning: wfAjaxCollectionSetTitles() expects at least 2 parameters, 1 given in /srv/mediawiki/php-1.32.0-wmf.19/extensions/Collection/Collection.php on line 446	5
[{exception_id}] {exception_url} ErrorException from line 446 of /srv/mediawiki/php-1.32.0-wmf.19/extensions/Collection/Collection.php: PHP Warning: wfAjaxCollectionSetTitles() expects at least 2 parameters, 1 given

Event Timeline

Krinkle changed Risk Rating from N/A to default.
Krinkle edited projects, added Collection; removed Wikimedia-Logstash.
Umherirrender subscribed.

The javascript code of colletion extension is always setting two parameters, I would assume a user has scripted it's own call to this function and missed one parameter

T203594 is related to this patch set, because the missing parameter has that name

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