• Resolved donprogramit

    (@donprogramit)


    Have been using this shortcode: [wpgmza id=”1″]

    Now ir shows:

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

    JS Console;

    jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1
    cherry-api.min.js?ver=4.0.5.6:1 Uncaught TypeError: Cannot read properties of undefined (reading 'browser')
    at cherry-api.min.js?ver=4.0.5.6:1:577
    at Object.set_variable (cherry-api.min.js?ver=4.0.5.6:1:643)
    at Object.init (cherry-api.min.js?ver=4.0.5.6:1:340)
    at cherry-api.min.js?ver=4.0.5.6:1:1680
    at cherry-api.min.js?ver=4.0.5.6:1:1687
    (anonymous) @ cherry-api.min.js?ver=4.0.5.6:1
    set_variable @ cherry-api.min.js?ver=4.0.5.6:1
    init @ cherry-api.min.js?ver=4.0.5.6:1
    (anonymous) @ cherry-api.min.js?ver=4.0.5.6:1
    (anonymous) @ cherry-api.min.js?ver=4.0.5.6:1
    js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=_wpgmzaMapEngineLoadedCallback&ver=6.6.2:1313 Google Maps JavaScript API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error .Aj @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=_wpgmzaMapEngineLoadedCallback&ver=6.6.2:1313 Aua @ map.js:45 vua @ map.js:43 (anonymous) @ map.js:40 Promise.then wua @ map.js:40 (anonymous) @ map.js:88 .F.FA @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=_wpgmzaMapEngineLoadedCallback&ver=6.6.2:1546 setTimeout .xg @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=_wpgmzaMapEngineLoadedCallback&ver=6.6.2:1284 .F.start @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=_wpgmzaMapEngineLoadedCallback&ver=6.6.2:1546 .zn @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=_wpgmzaMapEngineLoadedCallback&ver=6.6.2:1364 changed @ map.js:88 bl @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=__wpgmzaMapEngineLoadedCallback&ver=6.6.2:1329 .$k.bindTo @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=__wpgmzaMapEngineLoadedCallback&ver=6.6.2:1451
    (anonymous) @ map.js:120
    (anonymous) @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=__wpgmzaMapEngineLoadedCallback&ver=6.6.2:1392
    Promise.then
    mo @ js?v=quarterly&language=en&libraries=geometry%2Cplaces%2Cvisualization%2Cmarker&key=AIzaSyBCYAbXQXqoz8QY92WtWh7Y0AfQSWDGbz4&callback=__wpgmzaMapEngineLoadedCallback&ver=6.6.2:1391
    WPGMZA.GoogleMap.loadGoogleMap @ wp-google-maps.min.js?ver=9.0.41:1
    WPGMZA.GoogleMap @ wp-google-maps.min.js?ver=9.0.41:1
    WPGMZA.Map.createInstance @ wp-google-maps.min.js?ver=9.0.41:1
    (anonymous) @ wp-google-maps.min.js?ver=9.0.41:1
    each @ jquery.min.js?ver=3.7.1:2
    each @ jquery.min.js?ver=3.7.1:2
    initMaps @ wp-google-maps.min.js?ver=9.0.41:1
    (anonymous) @ wp-google-maps.min.js?ver=9.0.41:1
    e @ jquery.min.js?ver=3.7.1:2
    t @ jquery.min.js?ver=3.7.1:2
    setTimeout
    (anonymous) @ jquery.min.js?ver=3.7.1:2
    c @ jquery.min.js?ver=3.7.1:2
    add @ jquery.min.js?ver=3.7.1:2
    (anonymous) @ jquery.min.js?ver=3.7.1:2
    (anonymous) @ jquery-migrate.min.js?ver=3.4.1:2
    e. @ jquery-migrate.min.js?ver=3.4.1:2
    then @ jquery.min.js?ver=3.7.1:2
    ce.fn.ready @ jquery.min.js?ver=3.7.1:2
    ce.fn.init @ jquery.min.js?ver=3.7.1:2
    (anonymous) @ jquery-migrate.min.js?ver=3.4.1:2
    e. @ jquery-migrate.min.js?ver=3.4.1:2
    ce @ jquery.min.js?ver=3.7.1:2
    (anonymous) @ wp-google-maps.min.js?ver=9.0.41:1
    (anonymous) @ wp-google-maps.min.js?ver=9.0.41:1
    e @ jquery.min.js?ver=3.7.1:2
    t @ jquery.min.js?ver=3.7.1:2
    setTimeout
    (anonymous) @ jquery.min.js?ver=3.7.1:2
    c @ jquery.min.js?ver=3.7.1:2
    fireWith @ jquery.min.js?ver=3.7.1:2
    fire @ jquery.min.js?ver=3.7.1:2
    c @ jquery.min.js?ver=3.7.1:2
    fireWith @ jquery.min.js?ver=3.7.1:2
    ready @ jquery.min.js?ver=3.7.1:2
    P @ jquery.min.js?ver=3.7.1:2

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DylanAuty

    (@dylanauty)

    Hi @donprogramit,

    Thank you for getting in touch. We’re sorry to hear you’re having trouble with your map.

    I’ve run a test on the site and I can see an issue with your Google Maps API key, regarding your referrers. More specifically, the following error is being reported by Google:

    • JavaScript API error: RefererNotAllowedMapError

    We do have documentation which walks over the process of setting up your referrer restrictions: https://docs.wpgmaps.com/protecting-your-google-maps-api-key-from-unauthorized-use-setting-up-website-restrictions-http-referrers

    This applies specifically if you control and manage your API key yourself.

    Thread Starter donprogramit

    (@donprogramit)

    Hi,

    I tried your suggestion and used variates of the domain as per Google documentation but nothing works. I now get: ?Referer Not Allowed Map Error

    Any way, I found another plugin that doesn;t use Google API and works well so I will use that instead.

    Thanks anyway for checking

    Plugin Author DylanAuty

    (@dylanauty)

    HI @donprogramit,

    I am sorry to hear that did not help you resolve the issue. We do also offer an alternative to Google which does not require an API key.

    This can easily be switched via our settings area under Maps > Settings > General > By changing your Map Engine option from Google Maps to OpenLayers instead. This uses OpenLayers which does not require any API keys to get started.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.