Spurious errors on ViewAction/EditAction upon saving.

Hey everyone, I hope you're all well. I have several Filament forms which are embedded within Livewire components, not panels. This was done under instruction. There are over 50 Livewire pages which contain embedded Filament PHP tables, of the form -
<div>
{{ $this->table }}
</div>
<div>
{{ $this->table }}
</div>
The tables and forms look well defined and are identical throughout the codebase. However, on three of the connected forms, when I attempt to click "view" as a ViewAction, I am getting the following error -
Call to a member function mutateStateForValidation() on array
Call to a member function mutateStateForValidation() on array
Also, when editing and attempting to save, I get this error -
Call to a member function callAfterStateUpdated() on array
Call to a member function callAfterStateUpdated() on array
Now, I know I'm doing something wrong. My model relationships are correct, and, my casts are correct. It must be something simple. If anyone has experienced this, please let me know how you resolved it. Thanks, and be safe, Darryl
1 Reply
ChesterS
ChesterS3w ago
Can you share one of the forms/tables that gives you an error?
Want results from more Discord servers?
Add your server