Google Maps NOT showing….again….sorry

Home Forums Calendar Products Events Calendar PRO Google Maps NOT showing….again….sorry

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1144395
    JEFF
    Participant

    Hi,

    I can’t get Google Maps to display on Events. I’m very familiar with the API scenario and one has been input. To confirm, it needs to be a browser or server key?

    http://www.paintedcellars.com.php56-30.ord1-1.websitetestlink.com/event/desert-sunset-4/

    I see errors loading maps in the console, but I’m not sure why. It also doesn’t like google fonts apparently. Any help? Happy to give you access if you need. I just cannot figure out why ma[s aren’t sowing at all on event pages.

    #1144404
    JEFF
    Participant

    Here’s the console error screenshot. Any help greatly appreciated

    #1144501
    Geoff B.
    Member

    Good evening Jeff and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    We are sorry to hear about the Google Map issue creeping up on you again. Yikes!
    I would love to help you with this topic.

    First, I would recommend carefully reading the following article: https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/

    Secondly, based on the error messages I am seeing in the console. The most important one is the 404 message for yoursite/maps/api/js.

    It seems that your site is trying to load a second instance of the Google Map API.

    Could you also please go through our testing for conflicts procedure (preferably in a staging/dev environment or local install of your WordPress website) and let us know what you find out.

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1144873
    JEFF
    Participant

    Actually…discovered it was a conflict with a Root Level URLs plugin. Here’s the fix:

    Add this to the beginning of the proper_root_relative_url function:

    $blacklist_urls = split(“\n”, get_option(’emc2_blacklist_urls’));
    foreach ($blacklist_urls as $x) {
    if (stripos($url, $x) !== false) {
    self::$massage = true;
    return $url;
    }
    }

    🙂

    #1144985
    Geoff B.
    Member

    Good evening Jeff,

    This is pretty awesome. Kudos on finding the solution and thank you for sharing for everyone’s benefit!

    Is there anything else I can help you on with this topic ?

    Best regards,

    Geoff B.

    #1153211
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google Maps NOT showing….again….sorry’ is closed to new replies.