Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The error occured while and after upgrading from Geofield 7.x-2.x-dev (2012-Sep-04) to Geofield 7.x-2.x-dev (2012-Dez-19).
The problem was an outdated geoPHP library (it had been 1.0 then). The current release 1.1 can be downloaded at:
https://github.com/phayes/geoPHP
It had to be put into: sites/all/libraries and solved the problem for me.
Now running Geofield 7.x-2.x-dev (2012-Dez-19) and geoPHP 7.x-1.7 (2012-Nov-05), works fine.
Comments
Comment #1
smichel CreditAttribution: smichel commentedI was getting the error on line 65. I downloaded the new library as kreatL suggested, but needed to copy it to inside the geoPHP module instead, and now it works.
Comment #2
GreenSkunkNew geoPHP library worked for me too.
Comment #3
Simon Georges CreditAttribution: Simon Georges commentedIt seems to be ok now, isn't it?
Comment #5
ndobromirov CreditAttribution: ndobromirov commentedlibraries[geoPHP][type] = "libraries"
libraries[geoPHP][download][type] = "git"
libraries[geoPHP][download][url] = "https://github.com/phayes/geoPHP.git"
libraries[geoPHP][download][branch] = "master"
libraries[geoPHP][download][revision] = "0aae7c3d35f3a875bf58ff8abfc5fa27c0ca1408"
Just add this to your make file. This is the head revision of the library as of the time of writing this comment.
Comment #6
Justincletus CreditAttribution: Justincletus commentedGit Control version fixed above mentioned problem thanks.
Comment #7
Satyam Upadhyay CreditAttribution: Satyam Upadhyay commentedSame error I was facing, and fixed