Open bobbingwide opened 5 years ago
Well, since this is still open. I recently got a couple of Notices while updating the address on rngs.org.uk I'd blanked out lat and long in order to get Google to do the geolocation.
Notice: Undefined variable: lat in /home/rngs/public_html/wp-content/plugins/oik/shortcodes/oik-googlemap.php on line 501
Notice: Undefined variable: long in /home/rngs/public_html/wp-content/plugins/oik/shortcodes/oik-googlemap.php on line 502
As noted in https://github.com/bobbingwide/tags/issues/5 there are two problems with the call to the Google Map API to obtain the lat and long.
When these are corrected the request works. The solution involves calling
bw_gmap_get_api_key
. If this is not set then there’s no point making the call.