Page MenuHomePhabricator

[Bug] fatal PageImages Call to a member function getUrl() on a non-object (boolean)
Closed, ResolvedPublic

Description

Stack trace:

{ "file": "/srv/mediawiki/php-1.29.0-wmf.1/extensions/PageImages/includes/ApiQueryPageImages.php", "line": 128, "function": "setResultValues", "class": "ApiQueryPageImages", "type": "->", "args": [ "array", "integer", "string", "integer" ] }, { "file": "/srv/mediawiki/php-1.29.0-wmf.1/includes/api/ApiQuery.php", "line": 251, "function": "execute", "class": "ApiQueryPageImages", "type": "->", "args": [] }, { "file": "/srv/mediawiki/php-1.29.0-wmf.1/includes/api/ApiMain.php", "line": 1435, "function": "execute", "class": "ApiQuery", "type": "->", "args": [] }, { "file": "/srv/mediawiki/php-1.29.0-wmf.1/includes/api/ApiMain.php", "line": 510, "function": "executeAction", "class": "ApiMain", "type": "->", "args": [] }, { "file": "/srv/mediawiki/php-1.29.0-wmf.1/includes/api/ApiMain.php", "line": 481, "function": "executeActionWithErrorHandling", "class": "ApiMain", "type": "->", "args": [] }, { "file": "/srv/mediawiki/php-1.29.0-wmf.1/api.php", "line": 83, "function": "execute", "class": "ApiMain", "type": "->", "args": [] }, { "file": "/srv/mediawiki/w/api.php", "line": 3, "function": "include", "args": [ "string" ] }

reproduce:
https://commons.wikimedia.org/w/api.php?action=query&prop=revisions|pageimages&piprop=original&continue=&rvprop=timestamp|user|userid|content&format=xml&rvgeneratexml&titles=File:Merval+(Aisne)+école+++mairie.JPG

Event Timeline

mmodell triaged this task as Medium priority.Nov 3 2016, 6:37 PM
Stashbot subscribed.

Mentioned in SAL (#wikimedia-operations) [2016-11-03T19:17:57Z] <Krenair> <twentyafterfour> !log In order to unblock the train for group2: deploying https://gerrit.wikimedia.org/r/#/c/319643/ refs T149059, T149849

Mentioned in SAL (#wikimedia-operations) [2016-11-03T19:28:56Z] <twentyafterfour@tin> Synchronized php-1.29.0-wmf.1/extensions/PageImages/includes/ApiQueryPageImages.php: T149849 (duration: 00m 47s)

Confirmed fixed (the reproduce url works now)