• Resolved smythsys

    (@smythsys)


    LAtest version is causing page to reload continuously. We’ve had to disable complianz. It seems the code causing it is :
    <script> ? ? ? ? ? ? document.addEventListener(“cmplz_enable_category”, cmplzEnableCustomBlockedContent); ? ? ? ? ? ? function cmplzEnableCustomBlockedContent(e) { ? ? ? ? ? ? ? ? if (cmplz_has_service_consent(‘general’, ‘marketing’) && !document.getElementById(“cmplz_consent_area_anchor”)) { ? ? ? ? ? ? ? ? ? ? location.reload(); ? ? ? ? ? ? ? ? } ? ? ? ? ? ? ? ? if (e.detail.category === ‘no-category’ && !document.getElementById(“cmplz_consent_area_anchor”)) { ? ? ? ? ? ? ? ? ? ? location.reload(); ? ? ? ? ? ? ? ? } ? ? ? ? ? ? } ? ? ? ? </script>

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

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

    (@rogierlankhorst)

    @smythsys,

    This is the free version? It looks like you have a consent area shortcode in use, if so, what are the settings in that shortcode (category, service, cache redirect etc)? Then we can check the issue with the same settings.

    Thread Starter smythsys

    (@smythsys)

    Free version yep. The only shortcode we use is [cmplz-cookies] for our cookie policy page.
    The rest is fairly straightforward, out of the box.
    As an IT company I was posting this because the latest update was yesterday and it might happen to someone else. So if there’s a bug you might find it easier with this comment (and my clients will not call me so much hehehehe).

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @smythsys this code is only included when the shortcode [cmplz-consent-area] is used. So I suspect it is included somewhere on your page. To confirm I installed the current version with default settings, and didn’t get the script you posted above.

    Perhaps it is loaded from the cache?

    Thread Starter smythsys

    (@smythsys)

    So it must not be that code because I am 99% I haven’t used it (I don’t even know what it is for and it’s my web).
    I have reactivated complianz so you can see.
    If you go to blog or an article the page reloads continuously.
    It happens on all browsers (but it seems not in incognito).

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    In the sidebar, you have a custom html widget which contains the consent area shortcode. This is where the script is coming from.

    I don’t have the reload loop on your site, so I would try to clear your browser cache, that might resolve the issue.

    I’ve also tested with the consent area on an empty website, this works also without issues.

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Complianz causing page to reload’ is closed to new replies.