• Hi, on every page the browser console return me the follow error:

    rc2Contentscript.js:249 Uncaught TypeError: Cannot read properties of null (reading 'scrollHeight')
    at rc2Contentscript.js:249:91

    Looking the code, the error appear to be here “row 249”:

    let currentHeight = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);

    How can I solve it?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hi,

    The console error does not come from “Page scroll to id”. The plugin does not have a rc2Contentscript.js file. Check which plugin (or theme) uses rc2Contentscript.js.

    Thread Starter lumos

    (@lumos)

    I fixed out, thank you

    Plugin Author malihu

    (@malihu)

    Thanks for letting me know 🙂

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

The topic ‘Cannot read properties of null (reading ‘scrollHeight’)’ is closed to new replies.