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.04k stars 719 forks source link

Undefined method Error #1212

Closed Samvdg closed 4 months ago

Samvdg commented 5 months ago

I feel like my version of the package is missing something after an update? Suddenly parent::error doesn't work anymore in for example the renameController at line 43.

The static error function is gone? And since there are no other tickets opened with this issue i wonder if i did something wrong?

Samvdg commented 5 months ago

I havent messed around inside of the package locally. The only thing i have done is override the demo route in my web.php but even if i use the package routes or reinstall the package from scratch, it doesn't seem to work.

tanero commented 4 months ago

parent:error function comes from LfmController.php, and seems been removed by package maintainer. But no fix yet.

related issue, #1142

Samvdg commented 4 months ago

I'm sorry to tag you @streamtw but i believe you're the main person left working on this project and i was wondering about your opinion about this issue

streamtw commented 4 months ago

Sorry for late reply. I have reproduced this issue on my end. The error function may be deleted because I falsely thought it was a redundant function. I will release a fixed version today.

Samvdg commented 4 months ago

All good! Glad it's getting fixed!

streamtw commented 4 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.

Samvdg commented 4 months ago

it works!