Uncaught ReferenceError: Cookies is not defined
-
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.jsBut, 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.jsImage of the error: https://ibb.co/tXFcdsH
Is there any solution for this error?
Kind regards,
IliasThe page I need help with: [log in to see the link]
- The topic ‘Uncaught ReferenceError: Cookies is not defined’ is closed to new replies.