Active
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2011 at 06:53 UTC
Updated:
24 Nov 2012 at 02:02 UTC
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
Comment #1
chemicalroman commentedSame problem
Comment #2
nicothezulu commentedsubscribe
Comment #3
cossme commentedsame problem with version 6.x-1.1
Comment #4
wickedwookie commentedsubscribe
Comment #5
afsolano commentedsubscribe
Comment #6
rutiolmaI 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.
Comment #7
afsolano commentedI tried the solution #6 and couldn't get it to work. The warning disappears, but the map does not appear centered on the node.
Comment #8
dgastudio commentedsame here
Comment #9
majdi commentedsame problem , #6 works fine for me ... Thanks rmarques
Comment #10
grachan2 commented#6 Fixed for me. Thanks!