statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
3.58k stars 490 forks source link

Livewire "Uncaught Component already registered" since v5.6.0 #10273

Closed lakkes-ra closed 1 month ago

lakkes-ra commented 1 month ago

Bug description

I am using Mailcoach Self-Hosted with Statamic. Since I updated to v5.6.0 and beyond the livewire components in the Mailcoach UI can't be used anymore. The console tells me "Uncaught Component already registered" when I use the "+ Add Campaign" Button.

image

With downgrading to v5.5.0 it's not happening anymore.

I don't know, if this is the right place for this issue, since it may also be an issue with Mailcoach itself, but since it happend with the update to v5.6.0 you might already now a place or reason why this behavior could happen. I couldn't find it myself when I read through the changelog. I hope we can find some more information together.

I can provide a repository, but you'll need a Mailcoach licence.

How to reproduce

Logs

No response

Environment

Environment
Application Name: Statamic
Laravel Version: 11.10.0
PHP Version: 8.3.7
Composer Version: 2.7.6
Environment: local
Debug Mode: ENABLED
URL: livewire-component-already-registered.test
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: log
Queue: sync
Session: file

Filament
Packages: forms, notifications, support, tables
Version: v3.2.40
Views: NOT PUBLISHED

Livewire
Livewire: v3.5.0

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.7.1 Solo

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

lakkes-ra commented 1 month ago

Probably related to https://github.com/statamic/cms/issues/10258