husam-tariq / filament-database-schedule

Manage your Filament Task Scheduling in a Filament interface and save schedules to the database.
MIT License
89 stars 14 forks source link

Plugin not working with the latest Filament 3 Version #11

Closed edwink75 closed 11 months ago

edwink75 commented 1 year ago

I'm getting the following error when trying to open the history of one of the scheduled tasks

BadMethodCallException PHP 8.1.23 10.23.0 Method HusamTariq\FilamentDatabaseSchedule\Filament\Resources\ScheduleResource\Pages\ViewSchedule::getCachedTabs does not exist.

This happens on a fresh Laravel 10 installation with the latest Filament 3.0.48 and Plugin 2.0 Version.

To fix this, I can downgrade Filament to version 3.0.8 (possibly also other lower versions). But on the long run I think using the latest Version of Filament 3 would be beneficial :-)

edwink75 commented 1 year ago

Version 3.0.46 is working, too. Higher than that the plugin breaks.

This seems to be the breaking change: https://github.com/filamentphp/filament/commit/99b54a0148b148b02a2f3e06a300e7101551c89e