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
Comment #1
Tarsjusz commentedMoreover, 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
Comment #2
Tarsjusz commentedsolved, the problem was php5.3
sorry for bothering you
Comment #3
xmarket commentedThe code has been changed to pass variables by reference to those functions, anyway.
Comment #5
sean-gnu commentedProblem 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);
}
Comment #6
henrijs.seso commentedComment #7
xmarket commentedFixed as part of PHP 5.2/3 compatibility changes.