• Resolved ayubahamed123

    (@ayubahamed123)


    “Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)”

    I see this warning shown in the google developer tools console, is there a way to fix this? or will this be fixed in the next update? This warning is shown from a js file in “light weight cookie notice” plugin directory. We need this fixed asap.

Viewing 1 replies (of 1 total)
  • Plugin Author DAEXT

    (@daext)

    Hello ayubahamed123,

    thank you for all the details.

    Since there are multiple uses of addEventListener() in the plugin files, to identify what’s triggering the JavaScript error in your website we need to identify the development file and line with that instruction.

    If the page is visible online you can set Options -> Advanced -> Assets Mode option to “Development” and link in this thread the page URL with the error.

    If the page is not visible online please proceed as follows:

    1. Set the Options -> Advanced -> Assets Mode option to “Development”
    2. Clear the server and browser cache
    3. Visit the front end page where the JavaScript error is triggered and with the Chrome DevTools console opened take a screenshot of the error or save the error in a text file. The development file name and line of the error will not be displayed.
    4. Post the image or error text in this thread
Viewing 1 replies (of 1 total)
  • The topic ‘google console errors’ is closed to new replies.