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>


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


Also, when editing and attempting to save, I get this error -
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
Was this page helpful?