Title: Reference errors/slider not loading
Last modified: September 12, 2019

---

# Reference errors/slider not loading

 *  Resolved [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * (@jhanbackjr)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/)
 * Hello.
 * I’m having an issue similar to the one described in the following post:
 * [https://wordpress.org/support/topic/multiple-referenceerrors-in-console-after-updating-to-v3-0-0/](https://wordpress.org/support/topic/multiple-referenceerrors-in-console-after-updating-to-v3-0-0/)
 * There are multiple jQuery reference errors in the JavaScript console that go 
   away after I disable the Cookiebot plugin. The reference errors are affecting
   other jQuery products, such as SA Slider. My slider shows up fine when previewed
   on the admin side, but does not show up at all on the front-end page unless I
   disable Cookiebot.
 * Thanks for any assistance.
    -  This topic was modified 6 years, 8 months ago by [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/).

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

 *  [technovore](https://wordpress.org/support/users/technovore/)
 * (@technovore)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11927908)
 * Sorry to join in but I think we are having the same issues too. Any help would
   be much appreciated!
 *  Thread Starter [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * (@jhanbackjr)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11937319)
 * This issue has become much worse as the days have ticked by. Now there are image
   elements of sites that are not loading at all. A fresh look at the console this
   morning indicates a new jQuery error as follows:
 *     ```
       Uncaught TypeError: jQuery(...).carousel is not a function
           at HTMLDocument.<anonymous> (<anonymous>:4:26)
           at i (jquery.js:2)
           at Object.add [as done] (jquery.js:2)
           at a.fn.init.n.fn.ready (jquery.js:2)
           at <anonymous>:1:18
           at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
           at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
           at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
           at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
           at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
       ```
   
 * Disabling cookiebot fixes the problem. Please advise. The current errors are 
   affecting not only display now but also usability.
 * Thank you.
 *  Plugin Author [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * (@cookiebot)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11939208)
 * Hi [@jhanbackjr](https://wordpress.org/support/users/jhanbackjr/) [@technovore](https://wordpress.org/support/users/technovore/)
 * Thanks for reaching out, and sorry for the slow response.
 * The latest release, 3.0.0, introduced a ground-breaking new feature, that allows
   automatic cookie-blocking, based upon the results of our latest scan of your 
   website. It automatically blocks all tags that set cookies, unless the visitor
   has given proper consent for the kinds of tracking the the tags perform.
 * If this new feature is breaking your site, you can switch back to the old way
   of implementing cookie-control, by selecting “manual” instead of “auto” under
   the Cookie-blocking mode setting.
 * See this image: [http://prntscr.com/p73s77](http://prntscr.com/p73s77)
 * Note that if you choose “manual”, you may want to investigate what to do about
   the images that were missing in “auto” mode. The images are most likely missing
   because they are pixels which enable tracking of your visitors.
 * See more information on how to hide and show content based on the visistors consent:
   [https://support.cookiebot.com/hc/en-us/articles/360003812053-Hide-and-show-content-based-on-the-visitor-s-consent](https://support.cookiebot.com/hc/en-us/articles/360003812053-Hide-and-show-content-based-on-the-visitor-s-consent)
    -  This reply was modified 6 years, 8 months ago by [cookiebot](https://wordpress.org/support/users/cookiebot/).
 *  [thebigbang](https://wordpress.org/support/users/thebigbang/)
 * (@thebigbang)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11939940)
 * Hi,
    I think I have a similar problem. I received an email by cookiebot support
   that, after the latest scan of my website, suggested me to modify the script 
   to allow the automatic block of cookies. I modified the script and in the settings
   of the plugin, I selected Automatic in the item “cookie blocking-mode”. The problem
   is that, in this way, the buttons of like and share of facebook disappeared.
 * Controlling the console I found these errors:
 * Uncaught TypeErros: Cannot read properly ‘insertBefore’ of null at CookieControl.
   Cookie.postponeMutation (uc. js:1) at Mutation0observer.mutatioHandler (uc. js:
   1)
 * Uncaught ReferenceErros:jQuery is not defined at /wp-content/plugins/_s/js/scripts.
   js:506
 * Uncaught Erros: Bootstrap’s JavaScript require jQuery at /wp-content/themes/j_c/
   js/bootstrap.js:6
 * If in the settings of the plugin, I select Manual in the item “cookie blocking-
   mode”, these button of facebook appeared again.
 * So I want to know:
    1) with only the modification of the script, do I block preventively
   the cookie? 2) in the settings of the plugin, must I select Automatic to block
   preventively the cookies?
 * I want to respect the GDPR but I want also that the social buttons of facebook
   appear always on my site. Can you help me?
 * I read also the information at this link: [https://support.cookiebot.com/hc/en-us/articles/360003812053-Hide-and-show-content-based-on-the-visitor-s-consent](https://support.cookiebot.com/hc/en-us/articles/360003812053-Hide-and-show-content-based-on-the-visitor-s-consent)
   
   but I didn’t understand if I can use them to solve and eventually how and where
   I have to insert them. Please, answer me. Thanks in advance
 *  Plugin Author [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * (@cookiebot)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11940088)
 * Hi [@thebigbang](https://wordpress.org/support/users/thebigbang/),
 * Thanks for reaching out. You have already opened a wordpress support thread, 
   so let’s stick to that one instead. We will reply shortly, thanks for your patience.
 *  Thread Starter [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * (@jhanbackjr)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11940558)
 * I don’t understand. The visitor account I’m using to view my site had already
   accepted ALL cookies in the banner. Shouldn’t that mean that I would be able 
   to see all content even if automatic blocking is enabled? Or do all visitors 
   need to re-consent after automatic blocking is enabled?
 * I tried switching back to manual blocking. That did solve the problem. I’ll follow
   the guides and implement show/hide based on content. HOWEVER, as I said, I had
   already consented to all cookies, so shouldn’t I have been seeing all content
   anyway?
 * Please advise.
 *  Plugin Author [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * (@cookiebot)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11940634)
 * [@jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * >  … I had already consented to all cookies, so shouldn’t I have been seeing 
   > all content anyway?
 * If you have given consent to everything, then the tags should not be blocked.
   If this appears to be an issue, I suggest you provide us with a link to a page
   where we can reproduce the behaviour. You can do so either here or through our
   wp support email: [wpsupport@cybot.com](https://wordpress.org/support/topic/reference-errors-slider-not-loading/wpsupport@cybot.com?output_format=md).
 *  Thread Starter [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * (@jhanbackjr)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11940751)
 * Email sent with links.
 * With automatic mode enabled, I have also tried disabling all add-ons. Same problem
   persists.
 *  Plugin Author [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * (@cookiebot)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11966214)
 * As discussed over mail with [@jhanbackjr](https://wordpress.org/support/users/jhanbackjr/),
   the solution for now is to use “manual” as cooking-blocking mode.

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

The topic ‘Reference errors/slider not loading’ is closed to new replies.

 * ![](https://ps.w.org/cookiebot/assets/icon.svg?rev=3200631)
 * [Cookiebot by Usercentrics - Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode](https://wordpress.org/plugins/cookiebot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookiebot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookiebot/)
 * [Active Topics](https://wordpress.org/support/plugin/cookiebot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookiebot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookiebot/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [reference error](https://wordpress.org/support/topic-tag/reference-error/)

 * 9 replies
 * 4 participants
 * Last reply from: [cookiebot](https://wordpress.org/support/users/cookiebot/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/reference-errors-slider-not-loading/#post-11966214)
 * Status: resolved