FilamentF
Filament10mo ago
Anik

Error with spatie media file upload

Hello, I am getting an error with fileupload in my production server. But unfortunately, I am not getting the error in local env.

Whenever I try to upload an image file. It says file type not supported on production. On local it works without any issue.

There is also a console error which appears from file upload js on page load.

Any ideas on what is causing this issue?
image.png
Solution
My bad, I should have updated this thread. The error was due to browser cache. Remember guys, always clear your browser cache after updating filament.
Was this page helpful?