Do you have some unusual arrangement of templates?
Detected multiple instances of Livewire running
Hello,
I start a new personal project with Livewire and I get this warning in the console.
Detected multiple instances of Livewire running
Detected multiple instances of Alpine running
Livewire: missing closing tags found. Ensure your template elements contain matching closing tags.
I have checked, all the tags are closed and I don't inject the assets manually.
When I check the DOM, I see Livewire script twice.
<script src="/livewire/livewire.js?id=951e6947" data-csrf="I8Ye7lwi9wFxsfxiQ25zvsMcWGfrQcqcmT5sNIrM" data-update-uri="/livewire/update" data-navigate-once="true"></script>
<script src="/livewire/livewire.js?id=951e6947" data-csrf="I8Ye7lwi9wFxsfxiQ25zvsMcWGfrQcqcmT5sNIrM" data-update-uri="/livewire/update" data-navigate-once="true"></script>
I never had this warning in previous projects, even with Livewire v3.
A similar issue is described by Caleb Porzio in August 2023.
https://github.com/livewire/livewire/pull/6493
It seems I get the same issue with the last Livewire version (3.5), but without navigating ... I mean I get the error just at first load of the home page.
Any idea ?
Thanks for your help.
V
Please or to participate in this conversation.