I have just started a new laravel project andI'm trying to use filepond for file uploading. I have installed this library following composer instrucctions and it seems fine, but when I try to upload an image I get a 500 error in my frontend and looking in laravel logs I get this message.
local.ERROR: Call to a member function extension() on null {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function extension() on null at C:\laragon\www\filepond\vendor\sopamo\laravel-filepond\src\Http\Controllers\FilepondController.php:37)
[stacktrace]
I have just started a new laravel project andI'm trying to use filepond for file uploading. I have installed this library following composer instrucctions and it seems fine, but when I try to upload an image I get a 500 error in my frontend and looking in laravel logs I get this message.
Here is my html code `<!DOCTYPE html>
`