herb miller

WordPress plugin specialist

  • Home
  • About
    • Online CV
    • Contact
    • Find me
  • Shop
    • Seriously Bonkers – softback book
    • Seriously Bonkers – signed book
    • Seriously Bonkers – PDF
  • Dev env
    • Local development
    • WordPress plugins
    • Server environments
    • Development hardware
    • WAMP configuration
    • Tools and languages
    • What’s not in my development environment?
    • Anything else in your development toolkit?
  • Sites
Google Maps once again requiring an API key

Google Maps once again requiring an API key

I’ve been porting a site from Drupal to WordPress recently but it wasn’t until I loaded it onto hosting with 1&1 that I noticed some problems with my [bw_show_googlemap] shortcode. I’ve fixed the problem in oik v3.0.2. The new solution requires you to obtain a Google Maps API key, and enter it in oik options.

If you don’t you will get the following Warnings in your browser JavaScript console

Google Maps API warning: NoApiKeys 
https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
maps.googleapis.com/maps-api-v3/api/js/25/6/intl/en_gb/util.js:211  

Google Maps API warning: SensorNotRequired 
https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
maps.googleapis.com/maps-api-v3/api/js/25/6/intl/en_gb/util.js:211

and perhaps even see the error which prompted me to develop the fix.

Sorry! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.

Accompanied by the JavaScript Error, which so far has only appeared on 1&1 hosting.

Google Maps API error: MissingKeyMapError 
https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error

_.ab @ js?&region=GB:32
(anonymous function) @ common.js:51
(anonymous function) @ common.js:189
c @ common.js:45
(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fwww.example.com%2Fwp-admin%2Fadmin.php%3Fpage…:1

Reference

  • bobbingwide/oik#41
  • Google Maps JavaScript API https://developers.google.com/maps/documentation/javascript

Categories: plugins, programming, WordPress, WorkTags: API key, bw_show_googlemap, Google maps, oik

Published: June 27, 2016 | Last updated: June 27, 2016

Products

  • Seriously Bonkers - signed book £8.99 £5.99
  • Seriously Bonkers - PDF £1.00
  • Seriously Bonkers - softback book £8.99 £4.99

Recent Posts

  • Slog-bloat – server performance testing
  • WebP for my iPad
  • Image size reduction by quality
  • Localization of Full Site Editing themes
  • Fizzie – an experimental Full Site Editing theme

Recent Comments

  • Aprende gutenberg #49 - Aprende gutenberg on SB Children block – my first Single Block plugin
  • Richard Cagle on Installing Imagick for PHP 7 on Windows 10
  • WordCamp Birmingham on bucket list – WordCamp Birmingham UK 2015 (#wcbrum)
  • mick on WordPress capabilities: How to restrict Add New while allowing Edit
  • mick on WooCommerce 2.2.4 – Dynamic API Reference

Archives

Categories

WordPress 5.6.1. PHP: 7.3.27

WordPress version: 5.6.1

Gutenberg version: 9.9.3

Tide times from tidetimes.co.uk

Tide Times & Heights for Northney onTuesday, 23 February 2021
Low Tide:02:12 ( 1.90m )
High Tide:08:49 ( 3.60m )
Low Tide:14:36 ( 1.60m )
High Tide:21:28 ( 3.70m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on 24th February 2021
02:47 - Low Tide ( 1.60m )
09:40 - High Tide ( 3.95m )
15:06 - Low Tide ( 1.19m )
22:13 - High Tide ( 4.08m )

Follow me

  • Home
  • About
  • Blog
  • Contact
  • Find me
  • Privacy notice
  • Sitemap

Site:  herbmiller.me
© Copyright herb miller 2012-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress