Title: Javascript Error
Last modified: August 3, 2020

---

# Javascript Error

 *  Resolved [thisisbbc](https://wordpress.org/support/users/thisisbbc/)
 * (@thisisbbc)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-error-179/)
 * Hello,
 * We had to disable the plugin because there’s a javascript error that prevent 
   some features on our website to work properly.
 * Uncaught SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse(
   <anonymous>) at Object.set (cookie-law-info-public.js:68) at HTMLDocument.<anonymous
   > (cookie-law-info-public.js:719) at i (jquery.js:2) at Object.fireWith [as resolveWith](
   jquery.js:2) at Function.ready (jquery.js:2) at HTMLDocument.J (jquery.js:2)
 * Using PHP 7.4 with WP v5.4.2 on Pro Theme (Themeco) v3.2.3
 * Please advise.
 * Thank you!

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-error-179/#post-13206180)
 * Hi [@thisisbbc](https://wordpress.org/support/users/thisisbbc/),
 * This issue is already discussed in the forum and fixed. Please refer [this topic here](https://wordpress.org/support/topic/issues-with-images-after-v1-8-9/).
 *  [fiversen](https://wordpress.org/support/users/fiversen/)
 * (@fiversen)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-179/#post-13245577)
 * Hi.
    I dont know if it’s the same issue that causes a problem that I have with
   all animation after I updated your plugin and the same problem was i the version
   before that. I also have problem with the plugin “To Top” there’s not showing
   up. If you take a look on [https://www.happycarcph.dk](https://www.happycarcph.dk)
   then the Video, To Top in the right corner and all animation on the underlaying
   sites dissapear when I enable the GDPR plugin.
 * I have erased all caching and minifyed scripts.
 * I hope can help me because I realy like the plugin and using it on different 
   sites.
    Thank you!
    -  This reply was modified 5 years, 9 months ago by [fiversen](https://wordpress.org/support/users/fiversen/).
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-179/#post-13247381)
 * Hi [@fiversen](https://wordpress.org/support/users/fiversen/),
 * Please enable the plugin so that we can check the issue.
 *  [fiversen](https://wordpress.org/support/users/fiversen/)
 * (@fiversen)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-179/#post-13251023)
 * Hi [@webtoffee](https://wordpress.org/support/users/webtoffee/)
 * If I do that it’ll break the site so I can’t enable it for long time so if we
   could arrange a short window where you’re able to check I’ll do that.

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

The topic ‘Javascript Error’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [fiversen](https://wordpress.org/support/users/fiversen/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-179/#post-13251023)
 * Status: resolved