Cannot read property 'appendChild' of null
The uc.js script causes the JS error:
uc.js:formatted:277 Uncaught TypeError: Cannot read property 'appendChild' of null
at CookieControl.Cookie.loadCNDiFrame (uc.js:formatted:277)
at CookieControl.Cookie.init (uc.js:formatted:162)
at new CookieControl.Cookie (uc.js:formatted:965)
loadCNDiFrame @ uc.js:formatted:277
init @ uc.js:formatted:162
CookieControl.Cookie @ uc.js:formatted:965
(anonymous) @ uc.js:formatted:994
You can observe this on page www.bt.dk - checked this on chrome and firefox.
Steps to reproduce:
1. Open browser in private mode
2. Go to www.bt.dk
3. Accept the cookie bot GDPR information (ok button)
4. Refresh the page. After this step, you will see the described error.
Thank you for reaching out and reporting this.
The above is caused by a bug affecting some of our customers. It was introduced with a release Sunday evening (CET). We've fixed it with a new deploy this morning and we no longer see the error described.
Hi Cookiebot. I continue to see this problem, have I to do something more maybe?
EDIT: I'm sorry, I've solved the problem. It's necessary to empty cache of the browser. Done this, the problem disappears. Thanks a lot anyway.1
Other of our sites have a similar issue - www.b.dk and www.business.dk.0
Thanks for the details and fix.
Is there any way to use versioning?0
This may be a caching issue, what website are you seeing this behavior on?0
Please sign in to leave a comment.