There is an error when running cron on any of my sites with the latest dev release (7/15/09) of Backup 2.x. The error is:

Fatal error: Cannot use object of type backup_migrate_profile as array in /var/www/vhosts/agtdev.com/subdomains/naaa/httpdocs/sites/all/modules/contrib/backup_migrate/includes/filters.statusnotify.inc on line 87

It appears to be happening when it is trying to send a backup failed message.

The original code is:

87 mail($settings['filters']['notify_failure_email'], $subject, $body);

When I think it should be:

87 mail($settings->filters['notify_failure_email'], $subject, $body);

Changing the ...$settings['filters']... to ...$settings->filters...

Comments

alphageekboy’s picture

Title: Fatl Error: filters.statusnotify.inc on line 87 when Cron.php runs. » Fatal Error: filters.statusnotify.inc on line 87 when Cron.php runs.
ronan’s picture

Status: Needs review » Fixed

I actually fixed that last night, and it should be working on the dev that rolled this morning (2009-Aug-03), let me know if it's still causing an issue for you

alphageekboy’s picture

Thank you SIR. The last dev release from 8/3/2009 did indeed fix my issue.

Status: Fixed » Closed (fixed)
Issue tags: -fatal error, -cron, -backup, -migrate, -line 87

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