Title: JacaScript error / banner doesn&#8217;t appear
Last modified: November 30, 2020

---

# JacaScript error / banner doesn’t appear

 *  Resolved [ellidoeswp](https://wordpress.org/support/users/ellidoeswp/)
 * (@ellidoeswp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jacascript-error-banner-doesnt-appear/)
 * Hi there,
 * the banner seems to work on mobile, but not on desktop. In the dashboard, I get
   the following error:
 * _Uncaught TypeError: t(…).select2 is not a function_
 * with the path of a .js-document in my theme folder (main-min_js).
 * Does anybody know what I can do now? I can’t figure out the issue by looking 
   into the code of this file 🙁
 * Thanks in advance,
    Elena
    -  This topic was modified 5 years, 6 months ago by [ellidoeswp](https://wordpress.org/support/users/ellidoeswp/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjacascript-error-banner-doesnt-appear%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jacascript-error-banner-doesnt-appear/#post-13726072)
 * Hi [@ellidoeswp](https://wordpress.org/support/users/ellidoeswp/),
 * Maybe you can try some of the solutions described here. [https://stackoverflow.com/questions/20034522/select2-is-not-a-function](https://stackoverflow.com/questions/20034522/select2-is-not-a-function)
 * regards Aert
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jacascript-error-banner-doesnt-appear/#post-13729111)
 * [@ellidoeswp](https://wordpress.org/support/users/ellidoeswp/) as the error is
   coming from your theme, and is not related to Complianz, I recommend to contact
   your theme author about it. As soon as the jquery error is resolved the banner
   will start working.
 *  Thread Starter [ellidoeswp](https://wordpress.org/support/users/ellidoeswp/)
 * (@ellidoeswp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jacascript-error-banner-doesnt-appear/#post-13729423)
 * Thanks for your quick tipps! [@rogierlankhorst](https://wordpress.org/support/users/rogierlankhorst/)
   you were totally right with the theme issue, I somehow didn’t realize. After 
   updating my theme, it worked… 🤦
    Thanks again!
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jacascript-error-banner-doesnt-appear/#post-13729674)
 * Great, thanks for the update!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘JacaScript error / banner doesn’t appear’ 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/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 3 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/jacascript-error-banner-doesnt-appear/#post-13729674)
 * Status: resolved