maykar / kiosk-mode

🙈 Hides the Home Assistant header and/or sidebar
MIT License
408 stars 177 forks source link

Uncaught TypeError: Cannot read property 'length' of undefined #46

Closed franfos closed 3 years ago

franfos commented 3 years ago

Hi, since v1.5.6 (I haven't updated a few versions ago), I get this error in logs:

hacsfiles/kiosk-mode/kiosk-mode.js:36:23 Uncaught TypeError: Cannot read property 'length' of undefined

I tried to install a previous version (v1.5.2 it's the oldest HACS allows me to install) but the error still it's there.

Thanks.

SmarterHomeLife commented 3 years ago

Hi @franfos I had similar the same issue and my HA became really sluggish, I uninstalled kiosk-mode then reinstalled 1.5.5 and everything is back to normal now. Hope this helps.

franfos commented 3 years ago

Hi @franfos I had similar the same issue and my HA became really sluggish, I uninstalled kiosk-mode then reinstalled 1.5.5 and everything is back to normal now. Hope this helps.

Yes, it worked. I've previously tried installing older versions without uninstalling the current one.

Thanks!

etcg commented 3 years ago

Same for me. 1.5.6 killed my home assistant instance (same error as above). CPU Usage was above 20% (3-5% before the update) all the time and it became totally unresponsive. @SmarterHomeLife Your solution worked for me! Thank you.

jonare77 commented 3 years ago

Same here, error is thrown every second. Have 300000 occurences. Will try remove/add.

I have been step upgradring every version.

jonare77 commented 3 years ago

1.5.5 is working as expected. Thanks @SmarterHomeLife

maykar commented 3 years ago

Sorry for that folks, should be good in latest.

jonare77 commented 3 years ago

Sorry for that folks, should be good in latest.

No problem at all. Thanks for your work!

lolouk44 commented 3 years ago

@maykar I'm afraid I have the same issue with 1.5.8

KTibow commented 3 years ago

@lolouk44 clear cache? refresh?

lolouk44 commented 3 years ago

@KTibow thanks that was it indeed. Reloaded resources and force refreshed my browser, all good now 👍