Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there

    Thank you for getting in touch with us.

    Please send me a link to your map so I can look into this for you?

    Hey guys,

    I have the same problem :/

    Chrome says in the console:
    Mixed Content: The page at ‘https://DOMAIN.DE/’ was loaded over HTTPS, but requested an insecure script ‘https://maps.google.com/maps/api/js?v=3.26&key=AIzaSyCGIH921jSX1BYtS8UvkWRAkUbHI6HeTZE&language=de’. This request has been blocked; the content must be served over HTTPS.
    wpgmaps.js:157 Uncaught ReferenceError: google is not defined
    at wpgmaps.js:157
    product.js:35
    wpgmaps.js:13 Uncaught ReferenceError: google is not defined
    at InitMap (wpgmaps.js:13)
    at HTMLDocument.<anonymous> (wpgmaps.js:33)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)

    What can I do??

    Hi @coolicious

    Please advise what version of the plugin you currently have installed?

    Hey,

    I installed the latest version I think: Version 6.4.03

    Hi @coolicious

    The above error shouldn’t affect the functionality of the map though.

    Please send me a link to your map so I can look into this for you ASAP?

    Look at this page:
    https://themeparks-deutschland.de/demo-wp-google-maps/
    pw: test

    there should be a map…but it doesnt show because the errors above.

    Hi @coolicious

    Thank you for sending the link through.

    The Google Maps API should be loading via HTTPS as all of our other scripts are doing this without any issue.

    Please try editing wp-google-maps/wpGoogleMaps.php and scroll down to line 1034 where you’ll find a line of code that looks like this:

    wp_enqueue_script('wpgmza_api_call', '//maps.google'.$wpgmza_suffix.'/maps/api/js?'.$api_version_string.'key='.$wpgmza_api_key.'&language='.$wpgmza_locale, array(), null );

    Please change it to this:

    wp_enqueue_script('wpgmza_api_call', 'https://maps.google'.$wpgmza_suffix.'/maps/api/js?'.$api_version_string.'key='.$wpgmza_api_key.'&language='.$wpgmza_locale, array(), null );

    Does this help at all?

    Ok, now it works…but only when I edit the line 2412 too ??

    Hi @coolicious

    So glad to hear you came right with this.

    My apologies for any inconvenience caused by the additional change.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘map not showing when active ssl’ is closed to new replies.