i'm getting this when i try to use the gmap plugin centered on a node with Views 3:

warning: Missing argument 1 for views_handler_argument::get_value(), called in /sites/all/modules/gmap/gmap_plugin_style_gmap.inc on line 146 and defined in /sites/all/modules/views/handlers/views_handler_argument.inc on line 795.

the map displays but sometimes won't center correctly.

the warning appears on just about every node related page on the site.

Comments

chemicalroman’s picture

Same problem

nicothezulu’s picture

subscribe

cossme’s picture

same problem with version 6.x-1.1

wickedwookie’s picture

subscribe

afsolano’s picture

subscribe

rutiolma’s picture

I solved it changing line 136 and 139 on sites/all/modules/gmap/gmap_plugin_style_gmap.inc by

(line 136) $center_nid = $nodehandler->get_value(NULL);

and

(line 139) $highlight_nid = $nodehandler->get_value(NULL);

Still testing, but everything seems to work.

afsolano’s picture

I tried the solution #6 and couldn't get it to work. The warning disappears, but the map does not appear centered on the node.

dgastudio’s picture

same here

majdi’s picture

same problem , #6 works fine for me ... Thanks rmarques

grachan2’s picture

#6 Fixed for me. Thanks!