MyBB Community Forums
Cannot read properties of null (reading 'addEventListener') - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Cannot read properties of null (reading 'addEventListener') (/thread-234171.html)



Cannot read properties of null (reading 'addEventListener') - xLoy - 2021-11-02

[Image: 2kGsmCm.png]

[Image: XpyqfPV.png]

In the last 3 days, i changed a lot of things on the forum theme but I didn't touch the text-editor:
[Image: TcDpZVR.png]


 i think the problem is with jQuery i tried to google the error but nothing helped.

the texteditor in the old theme working fine


RE: Cannot read properties of null (reading 'addEventListener') - Matt - 2021-11-02

What's your URL? Your theme seems to have a sidebar of some sort which should ben toggleable but something isn't defined for it. It's likely this breaking would then break other javascript.


RE: Cannot read properties of null (reading 'addEventListener') - xLoy - 2021-11-03

Fixed,
Thank you!