unsavedChangesAlerts() BadMethodCallException

Hi everyone, i get this error : Method Filament\Panel::unsavedChangesAlerts does not exist." when i tried to use this function, thanks
Solution:
This will upgrade any package in you laravel project (including filament)
Jump to solution
12 Replies
MajistraFila
MajistraFilaOP11mo ago
my error page
No description
Jap
Jap11mo ago
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.
MajistraFila
MajistraFilaOP11mo ago
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
Jap
Jap11mo ago
yeah you can do it before step 1
Matthew
Matthew11mo ago
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
Matthew
Matthew11mo ago
This will upgrade any package in you laravel project (including filament)
MajistraFila
MajistraFilaOP11mo ago
im afraid from composer update, it always generate many issues for me 😱
Matthew
Matthew11mo ago
Hmm, it technically shouldn't
MajistraFila
MajistraFilaOP11mo ago
Next time I will be more braver when I need it😅
Matthew
Matthew11mo ago
Did it work?
MajistraFila
MajistraFilaOP11mo ago
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 😅
Matthew
Matthew11mo ago
nicee
Want results from more Discord servers?
Add your server