Page MenuHomePhabricator

ApiQueryMapData.php: Call to a member function getData() on a non-object (null)
Closed, DuplicatePublic

Description

Error
message
[XWfN-wpAEMYAAEoWgx8AAABP] /w/api.php?format=json&formatversion=2&action=query&titles=Category%3APlay%20Mountain&prop=mapdata&mpdlimit=max&mpdgroups=_4d3f78e5cbfadc4057a015d74536ef07cb4bbab2   BadMethodCallException from line 42 of /srv/mediawiki/php-1.34.0-wmf.20/extensions/Kartographer/includes/ApiQueryMapData.php: Call to a member function getData() on a non-object (null)
Impact

40 hits in wmf.20, not seen before that.

Notes

Blocking the train.

Details

Request ID
XWfN-wpAEMYAAEoWgx8AAABP
Request URL
commons.wikimedia.org/w/api.php?format=json&formatversion=2&action=query&titles=Category%3APlay%20Mountain&prop=mapdata&mpdlimit=max&mpdgroups=_4d3f78e5cbfadc4057a015d74536ef07cb4bbab2
Stack Trace
trace
#0 /srv/mediawiki/php-1.34.0-wmf.20/includes/api/ApiQuery.php(250): Kartographer\ApiQueryMapData->execute()
#1 /srv/mediawiki/php-1.34.0-wmf.20/includes/api/ApiMain.php(1595): ApiQuery->execute()
#2 /srv/mediawiki/php-1.34.0-wmf.20/includes/api/ApiMain.php(533): ApiMain->executeAction()
#3 /srv/mediawiki/php-1.34.0-wmf.20/includes/api/ApiMain.php(504): ApiMain->executeActionWithErrorHandling()
#4 /srv/mediawiki/php-1.34.0-wmf.20/api.php(86): ApiMain->execute()
#5 /srv/mediawiki/w/api.php(3): include(string)
#6 {main}