Hi,
I haven't found any issue about my problem, so I'm posting new one.
I've got fresh installation of gmaps and I'm receiving this warning while entering edit page of a node with a gmaps point in:

warning: Parameter 1 to _gmaps_point_gmi() expected to be a reference, value given in /home/pio/Projekty/tour/real/sites/all/modules/gmaps/includes/gmaps.map-pages.inc on line 289.

Could you help me somehow, please?

Comments

Tarsjusz’s picture

Moreover, I get also

warning: Parameter 2 to gmaps_map_form() expected to be a reference, value given in /home/pio/Projekty/tour/real/includes/form.inc on line 372.

when I enter

...admin/gmaps/map/5/edit

Tarsjusz’s picture

solved, the problem was php5.3
sorry for bothering you

xmarket’s picture

Status: Active » Fixed

The code has been changed to pass variables by reference to those functions, anyway.

Status: Fixed » Closed (fixed)

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

sean-gnu’s picture

Problem still exists in latest dev version - gmaps-6.x-2.x-dev.tar.gz

from line 287 of gmaps.map-pages.inc :

if ($callback) {
array_unshift($args, $gmi);
- call_user_func_array($callback, $args);
+ call_user_func_array($callback, &$args);
}

henrijs.seso’s picture

Status: Closed (fixed) » Active
xmarket’s picture

Status: Active » Fixed

Fixed as part of PHP 5.2/3 compatibility changes.

Status: Fixed » Closed (fixed)

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