UniSharp / laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
https://unisharp.github.io/laravel-filemanager/
MIT License
2.09k stars 720 forks source link

Missing parent::error method at LfmController #1214

Closed tanero closed 9 months ago

tanero commented 9 months ago

Some of the controllers calls parent:error() (UniSharp\LaravelFilemanager\Controllers\DeleteController or RenameController) method but parent (LfmController) has no error method.

And provide the followings :

Samvdg commented 9 months ago

This is a pretty critical bug. It throws a very easily fixable exception for a function that doesn't exist anymore for some reason. Litteraly when you rename something and then don't change the name, this exception pops up.

streamtw commented 9 months ago

Related to #1142 .

streamtw commented 9 months ago

v2.7.1 has been released to fix this issue. Please run php artisan vendor:publish --force --tag=lfm_public and php artisan vendor:publish --force --tag=lfm_view after upgrading to v2.7.1.