• Resolved fixait

    (@fixait)


    I have a small project with woocommerce. Sometimes on product page website have error in javascript. Conosle log this:

    TypeError: document.getElementById(...) is null
        f https://topvitaminy.cz/wp-content/plugins/cookie-law-info/lite/frontend/js/script.min.js?ver=3.0.8:1
        f https://topvitaminy.cz/wp-content/plugins/cookie-law-info/lite/frontend/js/script.min.js?ver=3.0.8:1
        g https://topvitaminy.cz/wp-content/plugins/cookie-law-info/lite/frontend/js/script.min.js?ver=3.0.8:1
        p https://topvitaminy.cz/wp-content/plugins/cookie-law-info/lite/frontend/js/script.min.js?ver=3.0.8:1

    It is problem in your plugin? or another else?
    Thx
    Michal

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @fixait,

    Greetings from CookieYes!

    We were unable to reproduce the error you reported on your site. Could you kindly provide us with the steps you took that led to the error so that we can investigate the issue more thoroughly?

    Thread Starter fixait

    (@fixait)

    Thank you for your message. The error appears sporadically. 5-10 products need to be opened. For some, the image doesn’t load properly (JS is used on it, so it can be identified by it). If you reload the page, the error will disappear. I deactivated the cache plugin (originally I thought it was causing the error). Thanks

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @fixait,

    We were not able to reproduce this error. Will you be able to share a screen recording of it so that we can understand the exact steps to reproduce it and provide a more accurate solution.

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @fixait,

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow up if you have any further questions or still need help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error – document.getElementById(…) is null’ is closed to new replies.