faificz's avatar

livewire4 error A request already contains one of the messages in this array

Hi , aften I updated my project from livewire 3 to livewire 4 I had an error

livewire.js?id=8b575521:5200 Uncaught Error: A request already contains one of the messages in this array at compileRequest (livewire.js?id=8b575521:5200:21) at livewire.js?id=8b575521:4248:9 at livewire.js?id=8b575521:5196:9 at Array.forEach () at livewire.js?id=8b575521:5195:29 at Array.forEach () at MessageBus.eachPendingMessage (livewire.js?id=8b575521:4657:40) at sendMessages (livewire.js?id=8b575521:5194:16) at livewire.js?id=8b575521:5180:7 at livewire.js?id=8b575521:4614:9

I added wire:keys in to the nested components and still nothink.

Nested components are loaded but nothink works ( like open modal, submit formt etc ) .

Can anyone help?

0 likes
2 replies
faificz's avatar

there is not. It was but removing didnt help.

Try to remove all view content inside div, didnt help.

Trying this on little component but my app has a lot of nested components and they also didnt work

faificz's avatar

I found a issue. It was missing wire:key in component in app.blade.

Please or to participate in this conversation.