Title: lity.js console errors
Last modified: October 11, 2018

---

# lity.js console errors

 *  Resolved [bonovski](https://wordpress.org/support/users/bonovski/)
 * (@bonovski)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/lity-js-console-errors/)
 * Hi, I get these errors on every single site I have the plugin installed, apart
   from one that’s not been updated yet and is still at v1.1.2.
 *     ```
       main.js?ver=1.1.7:1 Uncaught ReferenceError: lity is not defined
           at HTMLSpanElement.<anonymous> (main.js?ver=1.1.7:1)
           at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
           at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
       (anonymous) @ main.js?ver=1.1.7:1
       dispatch @ jquery.js?ver=1.12.4:3
       r.handle @ jquery.js?ver=1.12.4:3
       main.js?ver=1.1.7:1 Uncaught Error: Uncaught ReferenceError: lity is not defined - http://staging.test/wp-content/plugins/gdpr-cookie-compliance/dist/scripts/main.js?ver=1.1.7: 1
           at Object.error (main.js?ver=1.1.7:1)
           at m.win.onerror (main.js?ver=1.1.7:1)
       ```
   

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

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/lity-js-console-errors/#post-10773567)
 * Hi There,
 * Thanks for using our plugins.
 * Could you please provide me more details about the website? I would like to know
   the site URL to check how the plugin works on your end, by this I can start the
   investigations to find the conflict.
    Also, do you have any caching plugins installed
   or the lity library is loaded by your theme?
 * I look forward to hearing from you soon.
 *  Thread Starter [bonovski](https://wordpress.org/support/users/bonovski/)
 * (@bonovski)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/lity-js-console-errors/#post-10773571)
 * One of the sites is my testing environment [https://bonovski.eu/](https://bonovski.eu/)
   
   I tried different themes but the errors persist.
 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/lity-js-console-errors/#post-10773596)
 * Hi,
 * Thanks for the link. I’ve checked the website above, and it everything looks 
   good to me, no console errors found. Once you click to the settings, the settings
   modal opens, or you can use a link as well: [https://bonovski.eu/#gdpr_cookie_modal](https://bonovski.eu/#gdpr_cookie_modal)
 * [https://image.ibb.co/jWmEDp/Screen-Shot-2018-10-12-at-9-52-45-AM.png](https://image.ibb.co/jWmEDp/Screen-Shot-2018-10-12-at-9-52-45-AM.png)
   
   [https://image.ibb.co/e241tp/Screen-Shot-2018-10-12-at-9-52-39-AM.png](https://image.ibb.co/e241tp/Screen-Shot-2018-10-12-at-9-52-39-AM.png)
 * Can you please let me know the OS you’re using, and your browser type & version?
 * Thanks
 *  Thread Starter [bonovski](https://wordpress.org/support/users/bonovski/)
 * (@bonovski)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/lity-js-console-errors/#post-10773621)
 * You have to accept the cookies to get the errors.
    I’m using mac and win10 with
   chrome, firefox, opera.
    -  This reply was modified 7 years, 8 months ago by [bonovski](https://wordpress.org/support/users/bonovski/).
 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/lity-js-console-errors/#post-10780405)
 * Hi there,
 * Thanks for the details. It seems there is a javascript error in the script added
   to 3rd party scripts (plugin settings).
    Please disable check script added to
   3rd party script, there is a syntax error. Type a simple script example to test
   the plugin, like: `<script>console.log('third-party-scripts')</script>`
 * Once you fix the 3rd party scripts, the plugin should work properly.
    You can
   validate the scripts added to plugin settings here: [http://esprima.org/demo/validate.html](http://esprima.org/demo/validate.html)
 * I hope this helps.

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

The topic ‘lity.js console errors’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/lity-js-console-errors/#post-10780405)
 * Status: resolved