Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi.
I am using the Latitude/Longitude Widget in the field settings and setting the default values into 0.00 / 0.00, I tried to insert coordinates into the form.
Fatal error: Function name must be a string in /modules/geofield/geofield.module on line 294
Any idea?
Comments
Comment #1
Yorgg CreditAttribution: Yorgg commentedI found out disabling getdirections while setting the field settings, the error goes away.
Comment #2
Brandonian CreditAttribution: Brandonian commentedThanks for reporting the issue, @staminna. I suspect this is an issue with the Get Directions module not supporting the 2.x branch of Geofield. Moving the ticket to their queue. Which versions of each module were you using?
Comment #3
Yorgg CreditAttribution: Yorgg commentedI had to move back from geofield 7.x-2.x => 7.x-1.x because I can't seem to index nodes in apachesolr with empty geofields.
In regards to getdirections I was using version 7.x-3.x-dev
Comment #4
hutch CreditAttribution: hutch commented@brandonian, I cannot replicate this, Getdirections 7.x-3.x-dev works fine with Geofield 7.x-2.0-beta1
The error came up in geofield.module on line 294 which is function geofield_field_presave(), I cannot see how getdirections_fields could be calling that or have any influence on geofield_compute_values().
I am assuming staminna was using getdirections_fields.
Comment #5
Yorgg CreditAttribution: Yorgg commented@hutch, you assumed correctly.
I was into getdirections_fields.
Sorry for not beeing more specific.
I even though I had already replied to this post.