Get this warning message?

warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home/curefans/public_html/drupal615/includes/module.inc on line 483.
warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home/curefans/public_html/drupal615/includes/module.inc on line 483.
warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home/curefans/public_html/drupal615/includes/module.inc on line 483.
warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home/curefans/public_html/drupal615/includes/module.inc on line 483.
warning: Parameter 2 to gmap_gmap() expected to be a reference, value given in /home/curefans/public_html/drupal615/includes/module.inc on line 483.

Comments

hutch’s picture

Somewhere, probably in one of your contrib modules, a call is being made to hook_gmap() which requires it's second parameter to be &$map. Find it and fix it and tell the maintainer of the module. I use grep for my searches, eg from drupal root

grep -rn '_gmap(' *

Find the missing '&'
Any recursive search tool should be able to do this

dsanchez’s picture

Thanks for the input, thre results of the grep are these. I don't see "&" missing from the results?

modules/gmap/gmap.views.inc:29:function template_preprocess_gmap_view_gmap(&$vars) {
modules/gmap/gmap.php:43:function hook_gmap($op, &$map) {
modules/gmap/gmap.module:77: * Implementation of hook_gmap().
modules/gmap/gmap.module:79:function gmap_gmap($op, &$map) {
modules/gmap/gmap.module:805:function theme_gmap($element) {

bdragon’s picture

Status: Active » Closed (duplicate)