Crosspost of #2755693: Call to undefined function hosting_get_most_recent_task in Hosting Site Backup Manager.

I am posting this here as well, because this error can occur by using only this installation profile. It might affect unsuspecting people in an update? Perhaps you want to publish this as a known issue.

After enabling the hosting backup queue module in aegir hostmaster 3.6, aegir fails to perform any queue task.

I've found the cause of this by manually calling the dispatch from the command line:

drush @hostmaster hosting-dispatch
PHP Fatal error: Call to undefined function hosting_get_most_recent_task() in var/aegir/hostmaster7.x-3.6/profiles/hostmaster/modules/aegir/hosting_site_backup_manager/hosting_backup_queue/hosting_backup_queue.module on line 71
Drush command terminated abnormally due to an unrecoverable error.

So this failing command prevents all other cron process from taking place.

Comments

Neograph734 created an issue. See original summary.

neograph734’s picture

Title: Call to undefined function hosting_get_most_recent_task » Call to undefined function hosting_get_most_recent_task in hosting site backup manager
Issue summary: View changes
gboudrias’s picture

Status: Active » Closed (duplicate)

Do not open two issues for the same bug. It's all the same people involved in both projects anyway, so we won't see your bug any faster.

neograph734’s picture

It was reported in good faith, I didn't know it were the same people.

gboudrias’s picture

No worries, thank you for reporting.