Hey, finally had some time again to jump back into Livewire but ran into an odd issue with forms. Seems to happen in old applications and also a completely fresh Laravel installation.
VM79 livewire.js:3287 Uncaught (in promise) TypeError: Cannot read property 'receiveMessage' of undefined
at Connection.onMessage (VM79 livewire.js:3287)
at Object.Connection.driver.onMessage (VM79 livewire.js:3271)
at VM79 livewire.js:3142
The componentsById property is empty so findComponent returns undefined. The questions is why it is undefined.
To rule out any issues with packages or middlewares I made sure to use a fresh Laravel installation just with Livewire but the same issue persists. I even tried to use the copy & paste contact form component from https://laravel-livewire.com/docs/input-validation/ but again the same issue.
P. S.: @calebporzio did you manage to setup GitHub Sponsors or alike.
Hey, finally had some time again to jump back into Livewire but ran into an odd issue with forms. Seems to happen in old applications and also a completely fresh Laravel installation.
When placing some console logs the issue becomes more clear.
The
componentsById
property is empty sofindComponent
returns undefined. The questions is why it is undefined.To rule out any issues with packages or middlewares I made sure to use a fresh Laravel installation just with Livewire but the same issue persists. I even tried to use the copy & paste contact form component from https://laravel-livewire.com/docs/input-validation/ but again the same issue.
P. S.: @calebporzio did you manage to setup GitHub Sponsors or alike.