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 compatibility with laravel-backup v6 #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theigwe
Copy link

@theigwe theigwe commented Jan 7, 2020

// 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
Copy link

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

@dorkden
Copy link

dorkden commented Aug 28, 2020

@PromiseMagoma i follow your instruction is not working.

@keoy7am
Copy link

keoy7am commented Apr 27, 2021

@PromiseMagoma
Thanks, it works as expected!!

@dorkden
Maybe you should pay attention to letter case

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.

4 participants