Title: Javascript error when loading the banner
Last modified: September 18, 2025

---

# Javascript error when loading the banner

 *  Resolved [smartjms](https://wordpress.org/support/users/smartjms/)
 * (@smartjms)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/javascript-error-when-loading-the-banner/)
 * There is a javascript error in the js bundle that is used. Its missing a ; it
   looks like:
 *     ```wp-block-code
       document.dispatchEvent(event)}window.cmplz_get_banner_status=function(){return cmplz_get_cookie('
       ```
   
 * Should be
 *     ```wp-block-code
       document.dispatchEvent(event)};window.cmplz_get_banner_status=function(){return cmplz_get_cookie('
       ```
   
 * Saving the file like this made it work when i checked.. would be nice to get 
   a release for this i guess..
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-when-loading-the-banner%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * (@antoiub)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/javascript-error-when-loading-the-banner/#post-18648145)
 * Hello [@smartjms](https://wordpress.org/support/users/smartjms/) ,
 * Thank you for reporting this. Could you let us know which version of Complianz
   you’re currently using, and whether this error also appears when you disable 
   all caching plugins on your site?
 * I’ve checked the source code of the current version (7.4.2) and couldn’t find
   this issue. If you could point me to the exact location where you found it, I’ll
   pass it along to our development team.
 * Best regards,
   Antonio

Viewing 1 replies (of 1 total)

The topic ‘Javascript error when loading the banner’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/javascript-error-when-loading-the-banner/#post-18648145)
 * Status: resolved