Method Filament\Panel::databaseTransactions does not exist.

Hye, i added ->databaseTransactions() and ->unsavedChangesAlerts() to the panel, but the error is the method doesn not exist. i use filament version 3.2
8 Replies
mohsin_ismail
mohsin_ismailOP7mo ago
No description
Dennis Koch
Dennis Koch7mo ago
Where did you find those methods? I guess they both are for forms and no the panel.
Tetracyclic
Tetracyclic7mo ago
Those are both methods on the panel object. Pulled in by HasDatabaseTransactions and HasUnsavedChangesAlerts But having quickly tested, both work for me without error.
awcodes
awcodes7mo ago
v3.2.what? That patch version matters.
Tetracyclic
Tetracyclic7mo ago
databaseTransactions() was added in 3.2.42. I think unsavedChangesAlerts() predates 3.2 @mohsin_ismail composer show filament/filament will tell you what version you're running, make sure it's greater than 3.2.42 - or just run composer update, assuming it's not locked to a minor version.
awcodes
awcodes7mo ago
UnsavedChageAlerts was in v3.2 php artisan about
mohsin_ismail
mohsin_ismailOP6mo ago
Okay thank you. currently my version is 3.2.40 only
Tetracyclic
Tetracyclic6mo ago
You should be able to upgrade to the latest minor version without issue.
Want results from more Discord servers?
Add your server