JS Crash
-
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 4 of the JSON data[Ulteriori informazioni]
gdpr-public.js:8
window.has_consent
gdpr-public.js:8
<anonimo>
gdpr-public.js:17
i
https://www.ecolkem.it/wp-includes/js/jquery/jquery.js:2:27444
fireWith
https://www.ecolkem.it/wp-includes/js/jquery/jquery.js:2:28213
ready
https://www.ecolkem.it/wp-includes/js/jquery/jquery.js:2:30004
K
https://www.ecolkem.it/wp-includes/js/jquery/jquery.js:2:30366the error we got in this file
https://www.ecolkem.it/wp-content/plugins/gdpr/assets/js/gdpr-public.js?ver=1.4.4:formattedThe problem seems following:
Cookies.get(‘gdpr[consent_types]’) : “5E4pRnHQORU1vV2ka07-i7nQ0-rghEF90gt4xj-es-k.”
Cookies.get(‘gdpr[consent_types]’) : “5E4pRnHQORU1vV2ka07-i7nQ0-rghEF90gt4xj-es-k.”
has_consent(‘privacy-policy’) : “SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 4 of the JSON data”
GDPR.is_user_logged_in : “1”
JSON.parse(Cookies.get(‘gdpr[consent_types]’)) : “SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 4 of the JSON data”the plugin fails and is not possible to use it.
Thank you,
NicolaThe page I need help with: [log in to see the link]
- The topic ‘JS Crash’ is closed to new replies.