Title: JS error
Last modified: April 11, 2018

---

# JS error

 *  Resolved [dlx](https://wordpress.org/support/users/deeluuxe/)
 * (@deeluuxe)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/js-error-71/)
 * Just noted a text at the bottom of all my pages – didn´t see it before because
   it´s placed at the end of every page: “Your account will be closed and all data
   will be permanently deleted and cannot be recovered. Are you sure?”
 * So I opened the console and found this:
    Uncaught SyntaxError: Unexpected end
   of JSON input at JSON.parse (<anonymous>) at HTMLDocument.<anonymous> (gdpr-public.
   js:1) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at
   Function.ready (jquery.js:2) at HTMLDocument.K (jquery.js:2) (anonymous) @ gdpr-
   public.js:1 i @ jquery.js:2 fireWith @ jquery.js:2 ready @ jquery.js:2 K @ jquery.
   js:2
 * Looked at the content of the cookie “gdpr_approved_cookies” and it´s this:
    [“
   bp-activity-oldestpage
 * Seems there is missing something. Do I have to separate the entries for the namens
   of the cookies by this comma “,” or this one “;”?
 * Best regards,
    Jan

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

 *  Plugin Author [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * (@fclaussen)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/js-error-71/#post-10174342)
 * How does your cookie settings window look like? Can you post a screenshot?
 * If you want more privacy about this you can email me at [fclaussen@trewknowledge.com](https://wordpress.org/support/topic/js-error-71/fclaussen@trewknowledge.com?output_format=md)
 * From what I’m understanding something broke the JSON encoding. Might have been
   a weird character, I’m not sure. That’s why a screenshot or a copy and paste 
   of the contents would be helpful.
 *  Thread Starter [dlx](https://wordpress.org/support/users/deeluuxe/)
 * (@deeluuxe)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/js-error-71/#post-10175020)
 * Checked if there was any plugin conflict first, so I disabled them one by one.
   After this the settings of the GDPR plugin were gone when I activated it again.
   Don´t know why but now everything works fine.
 * Maybe some special characters in one of the settings fields…
 *  Plugin Author [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * (@fclaussen)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/js-error-71/#post-10175084)
 * Yeah… it was probably a weird character. It would have been good to know exactly
   what it was so I could prevent it from happening to others.
 * But I’m glad it is now working for you.

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

The topic ‘JS error’ is closed to new replies.

 * ![](https://ps.w.org/gdpr/assets/icon.svg?rev=1837142)
 * [GDPR](https://wordpress.org/plugins/gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/js-error-71/#post-10175084)
 * Status: resolved