Upgraded from 7.x-2.8 to 7.x-3.5 on two sites.
All is fine, except visiting the Advanced Backup tab, results in this Notice, twice:

Notice: Undefined index: exclude_filepaths in backup_migrate_destination_filesource->backup_settings_form() (line 84 of / PATH_TO /backup_migrate/includes/sources.filesource.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

echoz created an issue. See original summary.

Pranali.addweb’s picture

Status: Active » Needs review
FileSize
751 bytes

@echoz, Here's the patch that helps you for the error that you are facing. Please share your feedback if you have any issue.

echoz’s picture

Status: Needs review » Reviewed & tested by the community

Yep, that's what this looked like, this notice output if that setting was empty, so this check removes the notice. Odd, I no longer could reproduce the notice on my local, but it was still output on the live sites, and now fixed, so seems this should be committed. Thanks, RTBC!

DamienMcKenna’s picture

Version: 7.x-3.5 » 7.x-3.x-dev
Status: Reviewed & tested by the community » Fixed
Parent issue: » #2942331: Plan for Backup and Migrate 7.x-3.6

Committed. Thanks.

@echoz: I suspect the reason you hit it locally is that you've saved the configuration so when it's opened again it has that variable, whereas on production you haven't saved the configuration values so the error shows up.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.