• Resolved Hanno

    (@bsoftde)


    As soon as you accept the necessary cookies (in this case it’s ‘all’), no map will be displayed.
    I am using WP Google Maps Pro, and I tried to solve the issue with wpgmaps support first. Today, they sent the following mail:

    I have looked further into this and have looked into the Complianz plugin as well which caused this issue to occur for us locally as well.
    After quite some time searching the web, it seems this is an issue previously experienced by other users, however, on older versions as you can see at the below link:
    - https://wordpress.org/support/topic/latest-update-breaks-google-maps-integration/
    This seems to be the exact same issue, however, with a different mapping plugin as well.
    With the above said, could I kindly ask you to possibly get in touch with Complianz as they may be further knowledgable on how to address this issue having dealt with this before? They seem to be intefering with how the plugin runs by adding a specific class of sorts, however, again they will be most knowledgable in addressing this issue.

    If you need more information, don’t hesitate to ask.
    Tx Hanno

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @bsoftde,

    One script is blocked, but another script which depends on this blocked script still runs. To fix the error, please try blocking this other script as well by adding

    wp-google-maps-pro.min.js

    to the script center in the input field
    “(part of) URL’s or unique string from the inline scripts….”

    If you still have console errors after this, let me know and I’ll have another look. We might have to add another string.

    Thread Starter Hanno

    (@bsoftde)

    Hi Rogier,
    this makes it even worse – no more fake map for users without cookie agreement, two more UncaughtReference Errors: WPGMZA is not defined

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    This is often a bit trial and error, finding out which scripts need to be blocked.

    This script also needs to be blocked:
    wp-google-maps-pro/js/core.js

    Thread Starter Hanno

    (@bsoftde)

    I understand. No problem, we will have another try then.
    After blocking wp-google-maps-pro.min.js, wp-google-maps-pro/js/core.js no more console error, but a warning instead:
    Something went wrong TypeError: WPGMZA.RestAPI is undefined
    No fake map, no real map, just blank screen

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @bsoftde,

    I think a dependency needs to be declared, but I think it’s easier if I can do this on my own testing environment.

    Can you ask the developers of the plugin to send me a copy so I can debug the problem myself? (support(at)complianz.io).

    We have an integration for the free version, so I think I just need to have the premium so I can extend the integration a bit.

    For now, please remove the strings from the script center, and disable the Google Maps service from the integrations/services list to get your site in working order again.

    As soon as I have the pro plugin I will get back to you with an update.

    Thread Starter Hanno

    (@bsoftde)

    Hi Rogier,
    you’re definitely right. I’ll send a copy of your email to wpgmaps support, they will contact you ASAP, I’m sure.
    Tx Hanno

    Thread Starter Hanno

    (@bsoftde)

    Hi Rogier,
    Steven from WP Google Maps just told me that he has sent a copy to your email address. Please check your inbox.
    – Hanno

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @bsoftde,

    Received and we’re investigating, regards Aert

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @bsoftde,

    Just testing with WP Google Maps pro, it seems to work fine with the integration we built for the free version. Can you check if the WP Google Maps integration in Complianz/integrations/plugins is enabled?

    If it is, can you tell me a bit more about the settings you have active currently for this map?

    As Complianz hooks into the WP Google Maps GDPR feature, it will try to enable this setting in WP Google Maps when the integration is active. Can you check if it is activated in WP Google Maps?

    Current settings:
    – basic Google Map
    – GDPR feature in WP Google Maps enabled
    – Both free and pro enabled
    – WP Google Maps integration in Complianz/integrations/plugins enabled

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @bsoftde can you temporarily deactivate the caching plugin? The GDPR feature from WP Google Maps does not work with caching, so caching needs to be deactivated on this page.

    Thread Starter Hanno

    (@bsoftde)

    Hi Rogier,

    FYI, usually I use WP Fastest Cache, but I had already switched it off before.
    Unfortunately, it makes no difference if the Cache is active, or switched off with the plugin still active, or the plugin deactivated. Just to be sure, I also purged the browser cache again before every try.
    Right now, the plugin is deactivated.
    The Complianz, and wpgmaps, settings are as required. I thought of sending you screenshots to give you an opportunity to compare. This will take a few hours as I am currently out of office. If you think this wasn’t necessary please let me know.
    Tx – Hanno

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Yes, please send over your settings for the script center as well.

    It looks as if the //maps.googleapis.com/maps/api/js url is currently blocked, but as far as I can see this is not by default in Complianz. Is this added manually in the script center?

    If so, please try removing it.

    Thread Starter Hanno

    (@bsoftde)

    I have sent screenshots of the wpgmaps and Complianz settings to your mailbox. I also included a map export (json).
    Regarding the js url, I don’t know where it should be blocked. I have registered for this API, and Google console shows quite a few API calls, without any errors.

    Thread Starter Hanno

    (@bsoftde)

    Issue solved!
    I am using the ACF plugin which you have listed in your Integrations – Plugins tab, activated by default. With this activation revoked (plugin does not have to be deactivated), wpgmaps Pro runs ok.
    Thanks for your time, highly appreciated!
    Cu Hanno

    • This reply was modified 3 years, 6 months ago by Hanno.
    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @bsoftde

    Great to hear that your issue is resolved! Could you tell us what you think of the plugin or the support by casting your Review here? We’d love to hear your feedback!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Google Map does not show as long as Complianz plugin is active’ is closed to new replies.