Tagged: x
-
AuthorPosts
-
July 22, 2016 at 8:13 pm #1099413
eajuwonParticipantSo I tried this on our school site: http://rccgmountzion.com
I added this code:
`wp_register_script( ‘vendor-google-maps’, ‘https://maps.googleapis.com/maps/api/js?key=MY KEY HERE’ );
to the end of the file, and got an error which was this:
Fatal error: Call to undefined method WPaaS\Cache::flush() in /home/content/n3pnexwpnas01_data02/33/3462933/html/wp-content/mu-plugins/gd-system-plugin/includes/admin/class-file-editor.php on line 124
Would appreciate any help you guys could offer…Thanks!
July 23, 2016 at 1:22 am #1099608
RadModeratorHi there,
What file? The error is from your mu-plugins.
And you don’t have to do that, in cornerstone 1.3.0, you can just add API Key as map element’s option.
Thanks!
September 8, 2016 at 3:16 pm #1166979
GuillermoParticipantHello,
I am trying to fix the map problem following the instructions in this post. When I add the suggested code to my functions.php, the site get a fatal error.
Added code in the last part of Functions.php of my child x theme:
function my_add_frontend_scripts() {
wp_register_script( ‘cs-google-maps’, ‘https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY’);
wp_enqueue_script( ‘cs-google-maps’ );
}
add_action(‘wp_enqueue_scripts’, ‘my_add_frontend_scripts’, 100);I want to fix the problem of the maps not showing.
Thanks
September 8, 2016 at 11:28 pm #1167528
RupokMemberYou don’t need to do so as you can provide the API Key on Cornerstone elements directly. Let’s update your Cornerstone to latest version.
Cheers!
October 19, 2016 at 3:32 pm #1222816
Luke FParticipantHi folks,
I’m getting the “MissingKeyMapError”. The API is correct and active (it seems) and I’ve got it placed in the Map Element. Is Cornerstone not passing the ‘key=’ component?
You can see it yourself here: http://fitzgeraldsstpaul.com/testing/
Thanks.
October 19, 2016 at 3:45 pm #1222832
JoaoModeratorHi Luke,
Please watch this 2 minutes video to make sure you have setup your API correctly.
Thanks
Joao
October 19, 2016 at 4:25 pm #1222884
Luke FParticipantThanks Joao. I created a new API, but received the same error message.
The new API is being used at http://fitzgeraldsstpaul.com/testing/
Any ideas?
October 19, 2016 at 11:38 pm #1223344
RadModeratorHi there,
I checked your site and I don’t see any key either. It could be due to cache, please clear your cache and disable it then test it again.
Thanks!
October 27, 2016 at 1:56 pm #1233610
VERTENTParticipant“You don’t need to do so as you can provide the API Key on Cornerstone elements directly.”
What do you mean by this? Is there an easy way to input our API Key from google without creating child themes or editing files?
EDIT: After deciding to move on, I found the place to input the API key in cornerstone. Thanks 🙂
October 27, 2016 at 2:15 pm #1233644
JoaoModeratorHi There,
If you are using Cornerstone you have a field on the Google Maps Element where you can insert your API Key.
Hope that helps
Joao
January 22, 2017 at 6:37 am #1340372
petertheosbg7ParticipantThis reply has been marked as private.January 22, 2017 at 2:07 pm #1340678
RadModeratorHi Peter,
Please start a new thread and provide your login credentials in private reply 🙂
It’s behind a coming soon page, we could only check it by logging in.
Thanks!
March 8, 2017 at 5:00 pm #1399754
kingdomParticipantThis reply has been marked as private.March 8, 2017 at 11:44 pm #1400118 -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1058318 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
