Since other topic was closed I will write again:
Hi!
I can edit script file, no problem.
But now something new: suddenly I started to got following errors:
Warning: Illegal string offset ‘OSM Nominatim simple query’ in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 244
Warning: Illegal string offset ‘OSM Nominatim full address’ in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 244
Warning: Illegal string offset ‘Geocod.io full address’ in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 244
Warning: Illegal string offset ‘Geocod.io simple query’ in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 244
Warning: Illegal string offset ‘Google Maps API’ in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 244
Warning: ksort() expects parameter 1 to be array, string given in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 247
Warning: implode(): Invalid arguments passed in /wp-content/plugins/brilliant-geocoder-gravity-forms/lib/class-geocoder-gravity-settings.php on line 251
It occurs when entering forms settings (newly created too)
- EDIT 1: Errors above are caused by server PHP version. 7.0 and 7.1 – errors are present, downgraded to 5.6 – errors are gone
EDIT 2: script edited and changed from
success_callback( success );
to
success_callback( geojson );
Unfortunately geocoding works only for “OSM Nominatim simple query”, GMaps are not showing at all ??