Livewire encountered corrupt data

This really isn form builder specific and probably more livewire focused, but all of a sudden I am having issues with listeners causing errors. Even a listener as simple as
public function filteredPropertiesListener($propertyIds): void
{
ray($propertyIds)->orange()->label('filteredPropertiesListener');
$cacheKey = 'filteredPropertyIds_' . auth()->id();
Cache::put($cacheKey, $propertyIds);

$this->skipRender();
}
public function filteredPropertiesListener($propertyIds): void
{
ray($propertyIds)->orange()->label('filteredPropertiesListener');
$cacheKey = 'filteredPropertyIds_' . auth()->id();
Cache::put($cacheKey, $propertyIds);

$this->skipRender();
}
is causing
Livewire encountered corrupt data when trying to hydrate the [property-search] component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between requests.
Livewire encountered corrupt data when trying to hydrate the [property-search] component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between requests.
. Trying to see what I might have changed to cause the problem, but its turned into a complete time suck. I thought the issue was specific to a new wire:click i was trying to do, but realized my old listener is now doing it too on the same component.
1 Reply
Dan Harrin
Dan Harrin2y ago
please share the flare error url
Want results from more Discord servers?
Add your server