• Resolved digitalille

    (@digitalille)


    Hello !

    I’m using Complianz on all of my websites untill now without any problem.

    Today after updated all plugins and theme of one my website : https://a2mevents.fr/

    I saw that when I activate Complianz all my pages are blank and nothing load. If I desactivate complianz it comes back to normal and everything is working perfectly.

    I’m using Divi + Woocommerce + WP rocket (and other plugins of course).

    Any clue ?

    Thanks !

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @digitalille,

    More often than not, these kinds of issues are related to caching.

    Have you attempted to clear all caches in WP Rocket and reload the page in a fresh Incognito window, upon activating/configuring the Complianz plugin on your website?

    Let me know when you reactivate Complianz, I’d gladly have a look at this behavior.

    Kind regards,
    Jarno

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @digitalille,

    Any updates about this?

    Just give us a heads up if you would like us to investigate further.

    Kind regards,
    Jarno

    Thread Starter digitalille

    (@digitalille)

    Hello !

    Thanks for your feedback ??

    The problem is still present, but I have been sorely lacking in time over the past few days, so I have temporarily disabled Complianz so that I can take care of it more seriously.

    To answer your previous message, I first thought of a cache problem. So I deactivated WP rocket and the problem remains.
    On the browser, the problem appears when I access the site with the browser privately. It also appears on my phone.

    I will try to create a copy of the site as soon as possible to show you the problem (as I cannot do with the live site).

    Thanks again !

    Thread Starter digitalille

    (@digitalille)

    Hi again,

    I made a copy of the website :

    https://a2mevents.fr/
    Here it’s the live website

    https://test1.digitalille.fr/
    Here, it’s the copy. The only difference is Complianz is activated, rest is exactly the same

    As you can see on the copy, the page is completely blank and nothing load.

    Any clue ?

    Thanks !

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @digitalille,

    It looks like the cookie blocker triggers on a script that contains the et_animation_data variable. If you visit the testing website in Incognito mode, click Accept All and do a hard refresh, the rest of the page will appear.

    You can use this snippet as a MU Plugin to whitelist the script (upload as .php file to /wp-content/mu-plugins/).

    <?php
    /**
     * Whitelist a string for the cookie blocker
     * @param string $class
     * @param int $total_match
     * @param bool $found
     *
     * @return string
     */
    
    function cmplz_whitelist_my_string( $class, $total_match, $found ) {
    	$string = 'et_animation_data';
    	if ( $found && false !== strpos( $total_match, $string ) ) {
    		$class = 'cmplz-native';
    	}
    	return $class;
    }
    add_filter ( 'cmplz_script_class', 'cmplz_whitelist_my_string', 10 , 3 );
    

    Let me know if that works.
    Kind regards,
    Jarno

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @digitalille,

    Any updates regarding this? Have you attempted the whitelist solution above?

    Kind regards,
    Jarno

    Thread Starter digitalille

    (@digitalille)

    Hello @jarnovos!
    
    Thank you for your feedback :)
    
    I just tried your script and it doesn't work :(
    
    I tried to add it in my child theme, I removed <? Php and I disabled the cache (wp-rocket), no change.
    
    I also tried to create a PHP file: "et_animation_data_complianz" which contains the entire script, then I added the file in the mu-plugins folder of my wordpress in FTP, the result is the same the page remains blank on first load :(
    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @digitalille,

    The cookie blocker is likely being triggered on this script (with the animation data) because it contains a word/string such as “Facebook” or “Instagram”.

    Under Complianz > Integrations > Services can you try disabling Service integrations like Facebook & Instagram here, and check the front-end upon doing so, to see if this has the intended effect?

    Alternatively, you could try inserting the icons/elements for said services without animations. That should result in these elements not being dependent on this “et_animation_data” script being present, thus avoiding the problem.

    Hope it helps.
    Kind regards,
    Jarno

    Thread Starter digitalille

    (@digitalille)

    Hello !

    Oh indeed ! I desactivated Instagram in the services and it seems that everything is working correctly now ! ??

    Tested on live site too, and everything is back to normal, it’s working perfectly.

    Thank you for you amazing support and sorry for my late answers, past days were very busy

    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @digitalille

    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!

    Thread Starter digitalille

    (@digitalille)

    Hello,

    Sure ! I’m using complianz on all my websites and it’s probably one of the best plugin atm for cookies.

    Going to put 5 star ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Blank website if Complianz is activated’ is closed to new replies.