custom.js Error

I purchased Uplor - Clean & Modern Admin Dashboard Bootstrap 4 HTML Template.

Getting the following error message in console while testing Login HTML page. Please help.

custom.js:126 Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)
at custom.js:126:5
at custom.js:129:3

sp.addEventListener(‘click’, changeClass); // This exact line.

You’ll want to contact the author @SPRUKO in this case because it looks like a bug even in the live demo. However, this particular error appears to be non-fatal, so it’s not going to hurt anything.

It might be as simple as removing the reference to custom.js for the login pages, as the code in that file seems mostly intended for the dashboard, but the author will be able to provide the best advice.

1 Like

Thanks for the guidance. It was really helpful.

1 Like

Hi, could you please open a support request on our helpdesk at support.spruko.com Our tech team will be able to assist you there

1 Like

I have created a ticket #SP-525.

1 Like