laravel-admin-extensions / backup

An admin interface for managing backups
http://laravel-admin.org/
MIT License
75 stars 40 forks source link

fix compatibility with laravel-backup v6 #19

Open theigwe opened 4 years ago

theigwe commented 4 years ago

// This update will fix incompatibility in the changes made to laravel-backup config file Argument 1 passed to Spatie\Backup\Tasks\Monitor\BackupDestinationStatusFactory::createForMonitorConfig() must be of the type array, null given, called in .../vendor/laravel-admin-ext/backup/src/Backup.php on line 15

// Last element called in the array passed to backup view does not exist- There's length inconsistency Facade\Ignition\Exceptions\ViewException Undefined offset: 3 (View: .../vendor/laravel-admin-ext/backup/resources/views/index.blade.php)

PromiseMagoma commented 4 years ago

I just found it easier to just update the config/backup.php file from "monitor_backups" to "monitorBackups"

dorkden commented 4 years ago

@PromiseMagoma i follow your instruction is not working.

keoy7am commented 3 years ago

@PromiseMagoma Thanks, it works as expected!!

@dorkden Maybe you should pay attention to letter case