Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
07/04/2016 at 2:50 am #381399Raymond DuneganParticipant
Ok, I figged it out.
Get a google server key
make sure it is associated with your website in the google console.
paste this into /wp-content/themes/yourtheme/header.php before the /head> tag
<script async defer src=”https://maps.googleapis.com/maps/api/js?key=YOURSERVERKEY&callback=initMap”
REFRESH AND IT WORKS.
YOU CAN take a short cut by opening developer tools java console and click on the dev.google link at the error, scroll down and you can click on the link to get your snippet with your api, if logged in, just make sure itls the right one.07/04/2016 at 9:26 am #381439
re: I’m no coding wizz so if its a simple update I’d be happy to test – it’ll be sometime before my site is live anyhow
Great! I just sent it. Let me know if you do not receive it.07/04/2016 at 9:34 am #381440
re: Are you saying that the map showing then throwing keyerror is a bug needing fixed?
No, this is definitely not a bug. Google is locking down their maps API. For years it was available to use without key. As of June 22 all new sites are required to use a key. By Oct 12 all old sites will require a key. I suspect this is step one in a longer term plan to start charging for access to this API. Time will tell.
I kind of suspected this day was coming after noticing this warning in the browser console which is why I started adding support for the browser and server keys. I had fully implemented the server key completely, just not the browser key. The beta I just sent has the browser key fully implemented so it should resolve this issue.
re: paste this into /wp-content/themes/yourtheme/header.php before the /head> tag…
I strongly recommend undoing this change.
I just sent you a beta copy of the next release of Connections which has fully implemented the browser and server keys for the Google Maps API.
You can set them on the Connections : Settings admin page under the Advanced tab. With the beta installed and the keys added, you should not longer receive the Google Maps error.
Let me know.07/04/2016 at 11:20 am #381456ayomideGuest
can i get a copy of the code and instructions on how to implement it07/04/2016 at 11:21 am #381457ayomideGuestThis reply has been marked as private.07/04/2016 at 11:47 am #381458Raymond DuneganParticipant
Beta didn’t work without the head tag
07/04/2016 at 5:13 pm #381477
- This reply was modified 6 years, 7 months ago by Raymond Dunegan.
re: Beta didn’t work without the head tag
The reason seems to be that the Google Map API was inadvertently disabled. Perhap during your testing??? Navigate to the Connections : Settings admin page and click the Advanced tab. Scroll to the bottom and enable the Google Maps API option in the Compatibility section. After you do, remove the header tag.07/04/2016 at 5:21 pm #381478
Sure thing. I’m send it now.
Here’s the link to the instructions on how to get a key.
Make sure to create both a server key and a browser key and enter both of the keys on the Connections : Settings admin page under the Advanced tab.
Here’s a little YouTube video I found that should help if you watch it. It’s for the Places API, but the process will be the same.
Hope that helps!07/04/2016 at 5:34 pm #381490Brett StephensonParticipant
Re:Great! I just sent it. Let me know if you do not receive it.
nothing arrived – I checked spam box and not there either
I did get the other email you sent “RE forum – create searchable field” though07/04/2016 at 6:55 pm #381492
Sorry to hear you did not receive it perhaps I mistyped the email address or something… I just sent it again.
You cannot reply to this support topic. Please open your own support topic.