Posted by gateway69 on September 26, 2010 at 5:49pm
4 followers
Jump to:
| 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
#3
Just remove the & in /modules/theme/geocode_widget.theme.inc line 14
so that
<?phpfunction theme_geocode_widget_settings_form(&$form) {
?>
reads
<?phpfunction 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.