Steakhouse Theme Google Maps Java Error

Support forum dedicated to GavickPro free and premium WordPress themes.
GK User
Fri Jul 14, 2017 1:12 pm
I cannot get the map to display and get the 'see the java Script Console'
I have already added the website to the google console as below:

fonsiam.com/*
*.fonsiam.com/*

Is there anything else I could do?
http://fonsiam.com
User avatar
Expert Boarder

Joshua M
Mon Jul 17, 2017 7:55 am
Hi,
please edit your page/widget content with the map and change the following line:
Code: Select all
<div class="gk-map" data-latitude="-34.397" data-longitude="150.644" data-zoom="8" data-ui="yes" data-key="" />

into:
Code: Select all
<div class="gk-map" data-latitude="-34.397" data-longitude="150.644" data-zoom="8" data-ui="yes" data-key="YOUR_API_KEY" />

with your API key. Your map API key may be generated here:
https://developers.google.com/maps/docu ... et-api-key
User avatar
Moderator

GK User
Thu Jul 20, 2017 4:23 am
Hi

Sorry but this is still not working!
User avatar
Expert Boarder

Joshua M
Thu Jul 20, 2017 10:56 am
Are you using latest theme version? Could you send me a PM with your website backend and FTP access?
User avatar
Moderator

GK User
Thu Jul 20, 2017 3:40 pm
Joshua M wrote:Are you using latest theme version? Could you send me a PM with your website backend and FTP access?


PM sent thank you
User avatar
Expert Boarder

Joshua M
Fri Jul 21, 2017 8:23 am
Hi,
The latest version of the SteakHouse theme is 1.9, you are using version 1.6.1, please update your theme and the problem should be fixed.
User avatar
Moderator

GK User
Fri Jul 21, 2017 12:10 pm
Joshua M wrote:Hi,
The latest version of the SteakHouse theme is 1.9, you are using version 1.6.1, please update your theme and the problem should be fixed.

What is the easiest way to update the theme after I have made the backup? Can I simply delete the old theme and upload the latest version?
User avatar
Expert Boarder

Joshua M
Mon Jul 24, 2017 9:29 am
Hi,
Yes, if you didn't edit theme files, you can upload the latest version of Steakhouse theme. (make sure you have a full backup)
User avatar
Moderator

GK User
Mon Jul 24, 2017 3:04 pm
Hi
I updated to 1.9 which hasn't fixed the error
User avatar
Expert Boarder

Joshua M
Tue Jul 25, 2017 7:13 am
I can see the following error on your website:
"Google Maps API error: RefererNotAllowedMapError
Your site URL to be authorized"

More information may be found here:
https://developers.google.com/maps/docu ... -map-error
User avatar
Moderator

GK User
Tue Jul 25, 2017 7:46 am
I followed everything but it doesn't seem to work. Is there a way I can remove the map but keep the styling/colour?
User avatar
Expert Boarder

GK User
Wed Jul 26, 2017 4:30 pm
Hi

Thank you for your support and patience. It's finally working. I had to add the domain in the OAuth consent screen

SOLVED
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.