thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.05k stars 125 forks source link

Uncaught error from Chrome on Windows TypeError: Cannot read properties of undefined (reading 'disconnect') Mt.disconnectedCallback #281

Open jalejandro0211 opened 6 months ago

jalejandro0211 commented 6 months ago

My Home Assistant version: 2024.3.0

Layout-card version (FROM BROWSER CONSOLE): 2.4.5

What I am doing: Opening the default view (Overview)

What I expected to happen: no errors y system log

What happened instead: fill the log with this error: Logger: frontend.js.latest.202403060 Source: components/system_log/init.py:306 First occurred: 9:24:23 PM (3 occurrences) Last logged: 9:24:23 PM

Uncaught error from Chrome 122.0.0.0 on Windows 10 TypeError: Cannot read properties of undefined (reading 'disconnect') Mt.disconnectedCallback (/hacsfiles/lovelace-layout-card/layout-card.js:13:3317) apply (src/scoped-custom-element-registry.js:262:44) _createPanel (src/layouts/hass-router-page.ts:313:11) loadProm.then( (src/layouts/hass-router-page.ts:214:13)

Minimal steps to reproduce: Just open the Overview

# The least ammount of code possible to reproduce my error
N/A
# End of code

Error messages from the browser console: layout-card.js?hacstag=156434866245:13 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disconnect') at Mt._makeColumnLayout (layout-card.js?hacstag=156434866245:13:4088) at Mt._makeLayout (layout-card.js?hacstag=156434866245:13:4018) at Mt.updated (layout-card.js?hacstag=156434866245:13:1246) _makeColumnLayout @ layout-card.js?hacstag=156434866245:13 _makeLayout @ layout-card.js?hacstag=156434866245:13 updated @ layout-card.js?hacstag=156434866245:13 layout-card.js?hacstag=156434866245:13 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disconnect') at Mt._makeColumnLayout (layout-card.js?hacstag=156434866245:13:4088) at Mt._makeLayout (layout-card.js?hacstag=156434866245:13:4018) at Mt.updated (layout-card.js?hacstag=156434866245:13:1285) _makeColumnLayout @ layout-card.js?hacstag=156434866245:13 _makeLayout @ layout-card.js?hacstag=156434866245:13 updated @ layout-card.js?hacstag=156434866245:13


By putting an X in the boxes ([X]) below, I indicate that I: