Page MenuHomePhabricator

Undefined index: domain in /extensions/Collection/includes/rendering/CollectionRenderingAPI.php on line 252
Closed, ResolvedPublicBUG REPORT

Description

There are two undefined indeces in the Collection extension:

PHP Notice: Undefined index: domain in /extensions/Collection/includes/rendering/CollectionRenderingAPI.php on line 252
PHP Notice: Undefined index: prefix in /extensions/Collection/includes/rendering/CollectionRenderingAPI.php on line 256

Event Timeline

Hi @Joergi123, thanks for taking the time to report this! Which extension version and branch is this about? Which PHP version is used?

Hi Andre, this is about the release version of the Collection extension for MediaWiki 1.35. PHP is 7.4.

Change 960561 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Collection@master] Fix undefined index in CollectionRenderingAPI

https://gerrit.wikimedia.org/r/960561

Change 960561 merged by jenkins-bot:

[mediawiki/extensions/Collection@master] Fix undefined index in CollectionRenderingAPI

https://gerrit.wikimedia.org/r/960561

matmarex assigned this task to thiemowmde.