Page MenuHomePhabricator

Fatal error "Object does not implement ArrayAccess" in FileRepo::publishBatch()
Closed, ResolvedPublic

Description

Steps to reproduce: just try to upload something.

On beta you will get an 503 (not sure if that's normal or a secondary bug), locally you will get a fatal.

Mark got a more useful error using Zend:

Fatal error: Cannot use object of type LocalRepo as array in .../mediawiki/includes/filerepo/FileRepo.php on line 1283

Presumably related to I015635a9bf080ef6d98b2cff49b949c4378a859f.

Event Timeline

Tgr raised the priority of this task from to Unbreak Now!.
Tgr updated the task description. (Show Details)
Tgr added subscribers: Tgr, aaron.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tgr set Security to None.

Presumably related to I015635a9bf080ef6d98b2cff49b949c4378a859f.

Mark verified via bisect.

gerritbot added a subscriber: gerritbot.

Change 190108 had a related patch set uploaded (by Aaron Schulz):
Fixed FileRepo::newGood handling of $value

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

Patch-For-Review

Change 190108 merged by jenkins-bot:
Fixed FileRepo::newGood handling of $value

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

Tgr claimed this task.

Fix verified on beta. Thanks Aaron!

Change 191052 had a related patch set uploaded (by MarkTraceur):
Fixed FileRepo::newGood handling of $value

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

Patch-For-Review

Change 191052 merged by jenkins-bot:
Fixed FileRepo::newGood handling of $value

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