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

krestaml's avatar

Getting error on server but not locally - Snapshot missing on Livewire component with id ...

Hello there, I have a problem with Livewire. Locally, everything is working fine, but on a server (custom VPS server where there was no errors so far) Livewire started to giving me weird behavior.

  1. Getting error "Uncaught Snapshot missing on Livewire component with id:" (with embeded Livewire components inside another one)
  2. Elements with "wire:ignore" just rerender (fe. CKEditor)

Weird is that everything is happening after FAILED validation (validateOnly/validate) - if valid, everything works fine, so loading the form actually works. Does anybody knows what is going on? It is happening on other website on my server too, but only on the one with Livewire v3 (older projects works fine).

<div wire:ignore="">
        <textarea type="text" autocomplete="off" class="form-control wysiwyg" name="answer" id="answer" wire:model="form.answer"></textarea>
</div>
0 likes
2 replies
krestaml's avatar

Funny enough - Sentry doesn't log exceptions too, except sentry:test command.. I am helpless

krestaml's avatar

Well, didn't fix the "Sentry not logging" part, but the error in console (also with "rerendering" livewire component even with "wire:ignore") is fixed. I don't know why, but command "php artisan optimize:clear" helped.

Please or to participate in this conversation.