laravel-filemanager
laravel-filemanager copied to clipboard
TypeError in LfmUploadValidator.php (null given)
I am running LFM 2.5.1, and it won't upload a file (it creates directories though). Console shows TypeError in LfmUploadValidator.php (null).
UniSharp\\LaravelFilemanager\\LfmUploadValidator::__construct(): Argument #1 ($file) must be of type Symfony\\Component\\HttpFoundation\\File\\UploadedFile, null given, called in .../vendor/unisharp/laravel-filemanager/src/LfmPath.php on line 246
- Operating system : Debian 11 (bullseye)
- Laravel version : 9.17.0
- Package version : 2.5.1
Hi, Any solution for the problem above ?? i have the same problem
hi, i solutionated my problem. it was a problem with 'unisharp.lfm.upload' in file 'resources/views/vendor/laravel-filemanager/index.blade.php and cors i changed the form action url for the good one and ... resolved..