Notice: Undefined index: active in Gardener->processPrune() (line 238 of sites/all/modules/backup_migrate_prune/class/Gardener.php).

This code...

if (isset($settings[$slot]) && $settings[$slot]['active']) {

...causes the log to fill up with PHP notices.

CommentFileSizeAuthor
#2 backup_migrate_prune-2716989-2.patch729 bytesSeanA

Comments

SeanA created an issue. See original summary.

SeanA’s picture

StatusFileSize
new729 bytes

This occurs during cron runs and when editing gardener settings. Quick and dirty patch attached, may not be the correct approach, but it works, and sorry it's not in the right format.

  • e0ipso committed 316c8f8 on 7.x-2.x authored by SeanA
    Issue #2716989 by SeanA: PHP Notice: Undefined index: active
    
e0ipso’s picture

Status: Active » Fixed

Thanks for the patch! I modified it a little bit.

Status: Fixed » Closed (fixed)

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