spatie / laravel-backup

A package to backup your Laravel app
https://spatie.be/docs/laravel-backup
MIT License
5.65k stars 763 forks source link

Cleanup fails locally when calling AnonymousComponent::resolve() #1638

Closed nickworks closed 1 year ago

nickworks commented 1 year ago

Hello,

I'm using spatie/laravel-backup v8.1.4. When I run php artisan backup:run everything works (locally and in production). When I run php artisan backup:clean I get the following error (locally only):

Cleanup failed because: Call to undefined method Illuminate\View\AnonymousComponent::resolve() (View: /Users/nick/Projects/nha/nha-portal-api/vendor/laravel/framework/src/Illuminate/Notifications/resources/views/email.blade.php).

Screen Shot 2023-02-01 at 9 35 36 AM

Any ideas what I'm doing wrong or how I can fix it? Thanks!

freekmurze commented 1 year ago

It seems to work here using the latest version of Laravel