unsavedChangesAlerts() BadMethodCallException
Hi everyone, i get this error : Method Filament\Panel::unsavedChangesAlerts does not exist." when i tried to use this function, thanks
12 Replies
my error page
1️⃣ Run php artisan filament:upgrade.
2️⃣ Recompile any frontend assets you may have.
3️⃣ Clear your browser cache.
4️⃣ Delete the /resources/views/vendor directory if it exists.
thank u for ur help, but if u can clearify the step 4, if i should do it before the step 1, thank u again
yeah you can do it before step 1
This tells me that you are in an old filament version (<3.2)
In order to fix this, you need to run
composer update
Solution
This will upgrade any package in you laravel project (including filament)
im afraid from composer update, it always generate many issues for me 😱
Hmm, it technically shouldn't
Next time I will be more braver when I need it😅
Did it work?
As i tell u about composer update, I opted for @John Macintosh solution, thank u very much
Apparently I only got rid of all the errors by composer update, I jumped to another level of courage 😅
nicee