-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lastModified does not exist on Directory with Laravel 9 #11
Comments
Huge thanks! Will look at this asap! |
Hi @timramseyjr ! 'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
], |
@timramseyjr I've published it, could you pull the master branch and test it? Thanks in advance! |
Closing the ticket with no tests, in case the problem appears, please open the new one! |
@mafftor I will test it out this week. The issue was with S3 since a |
Great! I've added a try-catch block to return null if the file driver does not support last modified attribute |
Unable to retrieve the last_modified for file at location: public/uploads. {"userId":1,"exception":"[object] (League\\Flysystem\\UnableToRetrieveMetadata(code: 0): Unable to retrieve the last_modified for file at location: public/uploads. at /home/examplel/vendor/league/flysystem/src/UnableToRetrieveMetadata.php:49)
The issue is coming from
vendor/mafftor/laravel-file-manager/src/LfmItem.php:141 Mafftor\LaravelFileManager\LfmItem::time
where lastModified does not exist for the directoryLooks like it is the same thing as UniSharp/laravel-filemanager#1135
The text was updated successfully, but these errors were encountered: