WLED icon indicating copy to clipboard operation
WLED copied to clipboard

V0.15.0+ Raises TypeError on ESP32-ETH01

Open juldeus opened this issue 11 months ago • 9 comments

What happened?

Raises: TypeError: Cannot read properties of null (reading 'classList')

Tried it on two ESPs. Now running on v0.14.4 to not have the error.

To Reproduce Bug

Installed Via Webinstaller.

Expected Behavior

No Error

Install Method

Binary from WLED.me

What version of WLED?

v0.15.0 /v0.16.0 alpha

Which microcontroller/board are you seeing the problem on?

Other

Relevant log/trace output


Anything else?

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

juldeus avatar Feb 02 '25 22:02 juldeus

facing the same issue. It works fine when connected for the first time, but on the second attempt, it stops working and shows the error mentioned above

ranvirgorai avatar Feb 09 '25 07:02 ranvirgorai

I had this issue when the data wire was connected to the wrong pin on my WT32-ETH01 board. Also have to make sure the Data GPIO value is correct in LED & Hardware setup.

simondib avatar Feb 21 '25 03:02 simondib

You probably are using a LED output pin that was robbed by the audioreactive usermod, go to usermods and set all pins for AR to Unused.

kilrah avatar Feb 23 '25 21:02 kilrah

Weird, I encountered this as well. I confirmed I wasn't using a pin conflicting with audioreactive usermod. But after a couple reboots the problem went away...

rorosaurus avatar Feb 27 '25 03:02 rorosaurus

I have the same problem.

011V32 avatar May 07 '25 15:05 011V32

"TypeError: Cannot read properties of null (reading 'classList')" is a HTML interface problem and means that the JavaScript code in WLED's UI tried to fetch an element, and then tried reading the .classList property of it. But the element was not found, therefore null was returned. And it's impossible to read a property of a null object.

In short it just means that code was trying to fetch an element and read its properties, but the element with such an ID did not exist on the WLED HTML page.

I am sure we can close this because there's no such issues in WLED 0.15.1 which is currently in release prep at #4701.

@blazoncek

Arcitec avatar Jun 03 '25 18:06 Arcitec

Fixed with https://github.com/wled/WLED/commit/2f31ff047d04546595cc7fd996bc04c56e575ffb

netmindz avatar Jun 04 '25 08:06 netmindz

The issue is still present defining WLED_ENABLE_DMX in both 0.15.0 and 0.15.1 versions.

mrv96 avatar Aug 20 '25 21:08 mrv96

Update: issue is still present in branch 0_15_x but solved in main branch

mrv96 avatar Sep 04 '25 09:09 mrv96