When creating a view of user locations, I'm getting the following:

Notice: Undefined index: name in geofield_map_plugin_style_map->render() (line 116 of /home/nas1r0/61/00/8200061/web/sites/all/modules/geofield/modules/geofield_map/includes/geofield_map_plugin_style_map.inc).

Also, on the user profile pages, with geofield map set as the formatter, I get the following:

Notice: Undefined property: stdClass::$title in geofield_map_field_formatter_view() (line 69 of /home/nas1r0/61/00/8200061/web/sites/all/modules/geofield/modules/geofield_map/geofield_map.module).

Comments

Brandonian’s picture

Issue tags: +Novice

Thanks for the bug report, @adammichaelroach.

Both errors are a result of us using node-specific properties for generating alt text. We should attempt to make these entity agnostic. Shouldn't be a difficult fix. Adding a novice tag to see if anybody else wants to give it a try. Otherwise, I'll take care of it soon.

boabjohn’s picture

Confirming the same notice being thrown on a geofield attached to a taxonomy term:
Notice: Undefined property: stdClass::$title in geofield_map_field_formatter_view() (line 69 of /home/../htdocs/drupal/sites/all/modules/geofield/modules/geofield_map/geofield_map.module).

Brandonian’s picture

Status: Active » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.