Page MenuHomePhabricator

Undefined property: stdClass::$project in /data/project/heritage/heritage/api/includes/FormatHtml.php on line 86
Closed, DuplicatePublic

Description

https://tools.wmflabs.org/heritage/api/api.php?action=search&limit=100&format=html&srcountry=&srname=&srid=&sraddress=&srmunicipality=&props=country%7Clang%7Cid%7Cname%7Caddress%7Cmunicipality%7Clat%7Clon%7Cimage%7Csource%7Cchanged&%23=http%3A%2F%2Ftoolserver.org%2F~erfgoed%2Fapi%2Fapi.php%3Faction%3Dsearch%26limit%3D100%26format%3Dhtml%26srcountry%3D%26props%3Dcountry%257Clang%257Cid%257Cname%257Caddress%257Cmunicipality%257Clat%257Clon%257Cimage%257Csource%257Cchanged

Notice: Undefined property: stdClass::$project in /data/project/heritage/heritage/api/includes/FormatHtml.php on line 86
Call Stack
#	Time	Memory	Function	Location
1	0.0055	658408	{main}( )	../api.php:0
2	0.3043	3645824	ApiMain::dispatch( )	../api.php:6
3	0.3176	3954712	ApiMonuments->executeModule( )	../ApiMain.php:39
4	0.3478	4199944	ApiMonuments->search( )	../ApiMonuments.php:71
5	27.2782	4430536	FormatBase->output( )	../ApiMonuments.php:335
6	27.2784	4434280	FormatHtml->outputRow( )	../FormatBase.php:48

Event Timeline

JeanFred created this task.Jun 9 2016, 11:18 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 9 2016, 11:18 PM
JeanFred moved this task from Backlog to API on the Wiki-Loves-Monuments board.Jun 10 2016, 11:26 AM

Change 305794 had a related patch set uploaded (by Jean-Frédéric):
Safeguard against non-array $row

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