You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a model Post with a related model (HasOne) SubPost with media
A CRUD for Post that includes a SubPost
Whenever I would create (or update) a model, the error Method Spatie\MediaLibrary\MediaCollections\Models\Collections\MediaCollection::delete does not exist. arises
What I expected to happen
Media gets deleted and uploaded (if needed)
What I've already tried to fix it
I've tried also tried with a 'relationship' field, same error.
Context to replicate the bug - Backpack, Laravel, PHP, DB version