Page MenuHomePhabricator

Undefined index 'image' and 'public' in CollectionsList
Closed, ResolvedPublic

Description

PHP Notice: Undefined index: public in /Library/WebServer/Documents/php-master/extensions/Gather/includes/models/CollectionsList.php on line 152
PHP Stack trace:
PHP 1. {main}() /Library/WebServer/Documents/php-master/index.php:0 PHP 2. MediaWiki->run() /Library/WebServer/Documents/php-master/index.php:46
PHP 3. MediaWiki->main() /Library/WebServer/Documents/php-master/includes/MediaWiki.php:414
PHP 4. MediaWiki->performRequest() /Library/WebServer/Documents/php-master/includes/MediaWiki.php:566
PHP 5. SpecialPageFactory::executePath() /Library/WebServer/Documents/php-master/includes/MediaWiki.php:267
PHP 6. SpecialPage->run() /Library/WebServer/Documents/php-master/includes/specialpage/SpecialPageFactory.php:582
PHP 7. Gather\SpecialGatherEditFeed->execute() /Library/WebServer/Documents/php-master/includes/specialpage/SpecialPage.php:384
PHP 8. Gather\SpecialGatherEditFeed->getHeader() /Library/WebServer/Documents/php-master/extensions/Gather/includes/specials/SpecialGatherEditFeed.php:44
PHP 9. Gather\models\CollectionsList::newFromApi() /Library/WebServer/Documents/php-master/extensions/Gather/includes/specials/SpecialGatherEditFeed.php:72

PHP Notice: Undefined index: image in /Library/WebServer/Documents/php-master/extensions/Gather/includes/models/CollectionsList.php on line 153
PHP Stack trace:
PHP 1. {main}() /Library/WebServer/Documents/php-master/index.php:0
PHP 2. MediaWiki->run() /Library/WebServer/Documents/php-master/index.php:46
PHP 3. MediaWiki->main() /Library/WebServer/Documents/php-master/includes/MediaWiki.php:414
PHP 4. MediaWiki->performRequest() /Library/WebServer/Documents/php-master/includes/MediaWiki.php:566
PHP 5. SpecialPageFactory::executePath() /Library/WebServer/Documents/php-master/includes/MediaWiki.php:267
PHP 6. SpecialPage->run() /Library/WebServer/Documents/php-master/includes/specialpage/SpecialPageFactory.php:582
PHP 7. Gather\SpecialGatherEditFeed->execute() /Library/WebServer/Documents/php-master/includes/specialpage/SpecialPage.php:384
PHP 8. Gather\SpecialGatherEditFeed->getHeader() /Library/WebServer/Documents/php-master/extensions/Gather/includes/specials/SpecialGatherEditFeed.php:44
PHP 9. Gather\models\CollectionsList::newFromApi() /Library/WebServer/Documents/php-master/extensions/Gather/includes/specials/SpecialGatherEditFeed.php:72

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude added a project: Gather.
aude subscribed.

Change 205297 had a related patch set uploaded (by Aude):
Add isset checks for array in CollectionsList

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

Change 205297 merged by jenkins-bot:
Add isset checks for array in CollectionsList

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