• Resolved ilkork

    (@ilkork92)


    Hello and thank you very much for your plugin.

    I am using PixelYourSitePRO to connect my website with Facebook. The guys from PixelYourSite plugin recommend that users who have WP Rocket installed, should exclude 2 of their JS files (reference here: https://www.ads-software.com/support/topic/doesnt-work-with-pixelyoursite/).
    I am using WP Rocket but I do all CSS/JS optimization with Autoptimize. So naturally, I excluded these two scripts:

    pixelyoursite-pro/dist/scripts/public.js
    pixelyoursite-pro/dist/scripts/jquery.bind-first-0.2.3.min.js

    But, once I do that, I get an “Uncaught ReferenceError: Cookies is not defined” error in chrome console. If I disable Autoptimize, no error occurs. I also have these exclusions in autoptimize (since forever):

    seal.js
    js/jquery/jquery.min.js
    wp-includes/js/dist/
    wp-includes/js/tinymce/
    kirki/modules/webfont-loader/vendor-typekit/webfontloader.js
    /wp-content/plugins/translatepress-multilingual/assets/js/trp-frontend-compatibility.js

    Image of the error: https://ibb.co/tXFcdsH

    Is there any solution for this error?

    Kind regards,
    Ilias

    • This topic was modified 2 years, 3 months ago by ilkork.

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

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uncaught ReferenceError: Cookies is not defined’ is closed to new replies.