Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Unsociable's avatar

Carousel, Livewire & Search Input

Hello, I have the following code which should do the following:

  • When the user searches on the input box, this should show up and filter the results. This works okay before adding the Carousel.
  • The items are then added or removed from the carousel depending on the search and the categories.

When adding the carousel code and updating the foreach array, this is throwing the following error:

Uncaught Snapshot missing on Livewire component with id: C7rWgLRb8YpsVg657GdH

Below is the blade code

This is the controller

0 likes
1 reply
Unsociable's avatar

I have adjusted it to try and trigger a destroy and init, though the error still happens.

Controller:

Please or to participate in this conversation.