Error on querySelector(“#cmplz-manage-consent-container-nojavascript”)
-
Hello Aert,
Thanks for developing this plugin I use on some websites of my customers !
I get a JS error when opening the page https://www.tramoykanytrio.com.My console says it is in complianz.min.js:1:37659, with the following message :
Uncaught TypeError: document.querySelector(…) is null
onload https://www.tramoykanytrio.com/wp-content/plugins/complianz-gdpr/cookiebanner/js/complianz.min.js:1
cmplz_load_manage_consent_container https://www.tramoykanytrio.com/wp-content/plugins/complianz-gdpr/cookiebanner/js/complianz.min.js:1
conditionally_show_banner https://www.tramoykanytrio.com/wp-content/plugins/complianz-gdpr/cookiebanner/js/complianz.min.js:1
<anonymous> https://www.tramoykanytrio.com/wp-content/plugins/complianz-gdpr/cookiebanner/js/complianz.min.js:1The JS instruction incriminated is :
document.querySelector(“#cmplz-manage-consent-container-nojavascript”).style.display=”none”This problem is maybe linked with the fact that the cookie banner doesn’t appear anymore at the bottom of my site, this happens on many of my websites : first it works, and some weeks later, it doesn’t work anymore…
Maybe this should come from a plugin conflict, but I have to test it first.Thanks for helping ??
Arnaud BeLO.
- You must be logged in to reply to this topic.