Download & Extend

cck field error issues with drupal 6.19 + php 5.3x

Project:Geocode
Version:6.x-1.0-alpha2
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

im seeing this at the top when I add a cck filed geospatial data, geocoded value from another field..

warning: Parameter 1 to theme_geocode_widget_settings_form() expected to be a reference, value given in /var/www/dev/sites/all/modules/devel_themer/devel_themer.module on line 418.

?

Comments

#1

Hi gateway 69,

I am having exactly the same problem as you are. Have you found a solution so far? If so, I would be keen to know...

Cheers,

Harry

#2

Category:bug report» task

#3

Just remove the & in /modules/theme/geocode_widget.theme.inc line 14
so that

<?php
function theme_geocode_widget_settings_form(&$form) {
?>

reads

<?php
function theme_geocode_widget_settings_form($form) {
?>

The form doesn't undergo any further processing in form handling. This function just themes the form, so no harm done if the reference is removed I believe.