codeforkansascity / CommunityKC

Visualization and management of community-based projects
http://communitykc.org
GNU General Public License v2.0
3 stars 4 forks source link

Errors generated by call to /projects/geojson #82

Closed ctraltdel closed 7 years ago

ctraltdel commented 7 years ago

Drupal is logging php errors when showing the data. Intermittently messaging those to the screen on subsequent page loads, but also adding to the dblog under /admin/reports/dblog

The two errors are repeated multiple times:

Notice: Undefined index: und in GeoJsonService->getProjectsGeoJson() (line 39 of /home/booleano/public_html/communitykc/sites/all/modules/custom/class/GeoJsonService.php).

Warning: array_map(): Argument #2 should be an array in GeoJsonService->getProjectsGeoJson() (line 59 of /home/booleano/public_html/communitykc/sites/all/modules/custom/class/GeoJsonService.php).