mcguffin / acf-openstreetmap-field

WordPress ACF Field for OpenStreetMap
https://wordpress.org/plugins/acf-openstreetmap-field/
GNU General Public License v3.0
107 stars 21 forks source link

JSON.parse error #20

Closed gaeld closed 4 years ago

gaeld commented 4 years ago

Hello !

I've just installed the plugin on a fresh wordpress 5.2.2, with ACF Pro 5.8.1. Created a new group of fields, add two fields : text, and Openstreetmapfield.

The openfield map setup screen works fine. When I'm going on the form page element, nothing show and I've got a JS error :

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataacf-input-osm.min.js:1:5174

Details : getMapData http://offtracks.sbk3011.com/wp-content/plugins/acf-openstreetmap-field/assets/js/acf-input-osm.min.js?ver=1.1.1:1 initialize http://offtracks.sbk3011.com/wp-content/plugins/acf-openstreetmap-field/assets/js/acf-input-osm.min.js?ver=1.1.1:1

Options on the field (raw, leaflet, etc ...) dont seems to change the behavior, still got this error.

Thanks !

gaeld commented 4 years ago

Problem with prepopulate fields on my browser. Nevermind.