When more then one value can be assigned to a OL WKT field in a content type I get this warning message six times in the view displaying the map:
warning: Invalid argument supplied for foreach() in /var/alternc/html/a/xxxxxx/yyyyy/sites/all/modules/openlayers/modules/openlayers_views/views/openlayers_views_style_map.inc on line 396.

here is an example:http:// www.afectadosambientales.org/planeta

Comments

huizache’s picture

Version: 6.x-1.0-beta3 » 6.x-1.0-beta4

upgraded to 6.x.1.0-beta4 and message is now:

warning: Invalid argument supplied for foreach() in /var/alternc/html/a/acacia/huizache/sites/all/modules/openlayers/modules/openlayers_views/views/openlayers_views_style_map.inc on line 403.

phayes’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please see if this error exists in the dev version?

phayes’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
phayes’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I cannot reproduce this.. Please re-open if you have more info.