Message: Cannot read properties of undefined (reading 'data')

Hi,
How can I debug this problem: „Cannot read properties of undefined (reading ‚data‘)“
It shows up for me every few minutes in the admin panel. I do not know exactly what the problem is.

It is an old Shopware bug, do not worry about it. It may be fixed in the future.

1 „Gefällt mir“

It’s terribly disturbing. Not sure what the error is about?

You could debug the JavaScript with VUE. Not sure if it is the same error all the time.

He’s trying to get it right. But I am running out of ideas. This problem appeared I don’t know for what reason, because nothing was added like plugins, themes etc.

It shows me something like this in the console as this error occurs: Cannot read properties of undefined (reading ‘data’)

flatpickr.js:3          GET /api/notification/message?limit=5 net::ERR_CONNECTION_TIMED_OUT
(anonimowa) @ flatpickr.js:3
e.exports @ flatpickr.js:3
(anonimowa) @ commons.js?1662408253230875:1
UnBK.e.exports @ apexcharts.common.js:6
Promise.then (asynchronicznie)
CgaS.h.request @ vendors-node.js?16624082532356208:2
CgaS.i.forEach.h.<computed> @ _arrayReduce.js:13
(anonimowa) @ ace.js:4912
value @ commons.js?1662408253230875:1
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1
setTimeout (asynchronicznie)
value @ app.js?16624082536888535:1
(anonimowa) @ app.js?16624082536888535:1

The problem was caused by an unstable Internet connection.

May I ask now jou fixed this? I’m also having this issue when connecting via hotspot.

I ran connectivity tests on my network and discovered that the network loses connection every now and then. I reported to the ISP and it was a problem on the Internet connection.

Log in to the Shopware6 admin panel - don’t close the browser and disconnect the internet and you will see that this message will quickly appear.