Page MenuHomePhabricator

Antispoof error in extension.json after 1.26.3 update: Uncaught exception 'InvalidArgumentException' with message 'The value for 'load_composer_autoloader' should be an array'
Closed, ResolvedPublic

Description

After updating Mediawiki to v1.26.3 we get the following error:

PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with message 'The value for 'load_composer_autoloader' should be an array' in /home/khronos/public_html/webgl/wiki_1_15/includes/registration/ExtensionProcessor.php:348
Stack trace:
#0 /home/khronos/public_html/webgl/wiki_1_15/includes/registration/ExtensionProcessor.php(173): ExtensionProcessor->storeToArray('load_composer_a...', true, Array)
#1 /home/khronos/public_html/webgl/wiki_1_15/includes/registration/ExtensionRegistry.php(202): ExtensionProcessor->extractInfo('/home/khronos/p...', Array, 1)
#2 /home/khronos/public_html/webgl/wiki_1_15/includes/registration/ExtensionRegistry.php(127): ExtensionRegistry->readFromQueue(Array)
#3 /home/khronos/public_html/webgl/wiki_1_15/includes/Setup.php(39): ExtensionRegistry->loadFromQueue()
#4 /home/khronos/public_html/webgl/wiki_1_15/includes/WebStart.php(140): require_once('/home/khronos/p...')
#5 /home/khronos/public_html/webgl/wiki_1_15/index.php(38): require('/home/khronos/p...')
#6 {main}

Commenting out load_composer_autoloader fixes the issue.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 20 2016, 7:12 PM

Change 289984 had a related patch set uploaded (by Legoktm):
Remove 'load_composer_autoloader' from extension.json

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

Legoktm claimed this task.May 21 2016, 1:23 AM
Legoktm added a subscriber: Legoktm.

Thanks for reporting!

Aklapper renamed this task from Antispoof error in extension.json after updating Mediaiwiki to 1.26.3 to Antispoof error in extension.json after 1.26.3 update: Uncaught exception 'InvalidArgumentException' with message 'The value for 'load_composer_autoloader' should be an array'.May 21 2016, 5:13 PM
Aklapper added a project: Regression.
Florian closed this task as Resolved.May 21 2016, 10:43 PM
Florian triaged this task as Normal priority.

Change 289984 merged by jenkins-bot:
Remove 'load_composer_autoloader' from extension.json

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