backdrop-contrib / geofield

Stores geographic and location data (points, lines, and polygons).
GNU General Public License v2.0
0 stars 7 forks source link

Geofield throws "undefined function geofield_property_info_callback" error #29

Closed mazzech closed 3 years ago

mazzech commented 4 years ago

I do not manage to get any Geo functions working in Backdrop for quite some time... It seems that Geofield might be part of the problem.

mazzech commented 4 years ago

Version: 7.2.28 (PHP information)

laryn commented 3 years ago

This should still be fixed here, but FYI I've also filed a PR to make this not fatal due to Entity Plus: https://github.com/backdrop-contrib/entity_plus/issues/37

laryn commented 3 years ago

If I move geofield_data_property_info() and geofield_property_info_callback() into geofield.module instead of geofield.schemaorg.inc then this error disappears. Is that the right solution or the right place for these functions?

djzwerg commented 3 years ago

Same bug for me. How to solve? I'm not able to create a leaflet map with Geofield as data source because of this issue.

laryn commented 3 years ago

@djzwerg Are you able to test my suggestion https://github.com/backdrop-contrib/geofield/issues/29#issuecomment-680835595 ?

djzwerg commented 3 years ago

@laryn I'm sorry I don't know how to do that.

laryn commented 3 years ago

I added a PR here: https://github.com/backdrop-contrib/geofield/pull/32

djzwerg commented 3 years ago

I can confirm that this PR solves this issue!