Page MenuHomePhabricator

DeleteArchive: Object does not implement ArrayAccess
Closed, ResolvedPublicPRODUCTION ERROR

Description

Spotted in production:

Fatal error: Object does not implement ArrayAccess in /srv/mediawiki/php-1.30.0-wmf.2/extensions/CirrusSearch/includes/Job/DeleteArchive.php on line 26

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Smalyshev looks related to new archive stuff, Seems $rev is an object instead of an array for some reason, perhaps json decoding isn't asking for assoc arrays somewhere? not sure

Hmm it looks like it is the result of $db->select, probably should be object. Will check.

Change 357947 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/extensions/CirrusSearch@master] Fix T167473 - should use object access, not array, for select results.

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

Change 357953 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/extensions/CirrusSearch@wmf/1.30.0-wmf.4] Fix T167473 - should use object access, not array, for select results.

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

Change 357947 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Fix T167473 - should use object access, not array, for select results.

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

Change 357953 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@wmf/1.30.0-wmf.4] Fix T167473 - should use object access, not array, for select results.

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

Looks fixed, thanks!

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