Skip to content
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

Undefined method Error #1212

Closed
Samvdg opened this issue Feb 8, 2024 · 7 comments
Closed

Undefined method Error #1212

Samvdg opened this issue Feb 8, 2024 · 7 comments

Comments

@Samvdg
Copy link

Samvdg commented Feb 8, 2024

  • Operating system : Debian 11
  • Laravel version : 9
  • Package version : 2.7.0
  • Steps to reproduce your issue : Get an error (rename a file to the same name for example)

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
Copy link
Author

Samvdg commented Feb 8, 2024

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
Copy link

tanero commented Feb 18, 2024

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

related issue, #1142

@Samvdg
Copy link
Author

Samvdg commented Feb 27, 2024

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
Copy link
Member

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.

@streamtw streamtw added the WIP Working in progress. label Feb 27, 2024
@Samvdg
Copy link
Author

Samvdg commented Feb 27, 2024

All good! Glad it's getting fixed!

@streamtw
Copy link
Member

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
Copy link
Author

Samvdg commented Feb 27, 2024

it works!

@Samvdg Samvdg closed this as completed Feb 27, 2024
@streamtw streamtw removed the WIP Working in progress. label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants