F
Filament15mo ago
skyrowl

Filament Spatie media input doesn't show image or return an error

Hey, so I have 2 conversions registered on my model, one is called 'small', one is 'default' Problem is that when the component is registered, it doesn't display any image with the only parameters ->imageCropAspectRatio('16:9')->collection('thumbnail') When I add the parameter ->conversion('default') it throws me this error Call to a member function hasGeneratedConversion() on null Files are registered in the DB and stored on the disk but it still does this, I don't really understand why if someone is able to tell me please?
1 Reply
skyrowl
skyrowl15mo ago
something weird is that when it doesn't throw an error, I can upload files tho the uploaded image disappear the moment it is uploaded