Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue with spatie/laravel-backup v9 #147

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kichetof
Copy link

This PR fix issue with spatie/laravel-backup v9 who use DTO for BackupDestinationStatusFactory::createForMonitorConfig instead of array and allow usage of v9 with DTO, or ≤ v8 with array.

Error with spatie/nova-backup-tool v5.0.8 and spatie/laravel-backup v9 :

local.ERROR: Spatie\Backup\Tasks\Monitor\BackupDestinationStatusFactory::createForMonitorConfig(): Argument #1 ($monitorConfiguration) must be of type Spatie\Backup\Config\MonitoredBackupsConfig, array given, called in /Users/tof/Herd/Nova/vendor/spatie/nova-backup-tool/src/Http/Controllers/BackupStatusesController.php on line 15 {"userId":1,"exception":"[object] (TypeError(code: 0): Spatie\\Backup\\Tasks\\Monitor\\BackupDestinationStatusFactory::createForMonitorConfig(): Argument #1 ($monitorConfiguration) must be of type Spatie\\Backup\\Config\\MonitoredBackupsConfig, array given, called in /Users/tof/Herd/Nova/vendor/spatie/nova-backup-tool/src/Http/Controllers/BackupStatusesController.php on line 15 at /Users/tof/Herd/Nova/vendor/spatie/laravel-backup/src/Tasks/Monitor/BackupDestinationStatusFactory.php:14)

@MattLoyeD
Copy link

Any news on this ? Would be nice if this branch could be merged soon.

@pomirleanu
Copy link

Any updates on this ?

@makowskid
Copy link
Contributor

makowskid commented Oct 27, 2024

Hi guys, can you please merge this branch? It's a bit annoying we can' upgrade :)

@MattLoyeD
Copy link

@freekmurze Any possibility to do something ?

@eboye
Copy link

eboye commented Nov 17, 2024

This would be greatly appreciated if it gets merged :)

@scramatte
Copy link

Same issue here, please fix asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants