* Disable overlay module.
* Delete a site backup using the aegir interface.
* Confirm the deletion

Fatal error: Call to undefined function overlay_close_dialog() in /var/aegir/hostmaster-7.x-3.11/profiles/hostmaster/modules/aegir/hosting_site_backup_manager/hosting_site_backup_manager.module on line 212

- Module should check if overlay is available before using overlay functions.

Comments

millenniumtree created an issue. See original summary.

millenniumtree’s picture

Version: 7.x-3.11 » 7.x-3.x-dev
Status: Active » Needs review
StatusFileSize
new897 bytes

Wrapped the overlay_close_dialog() calls with if (module_exists('overlay')) {}

colan’s picture

Status: Needs review » Reviewed & tested by the community

Makes sense to me.

  • helmo committed 8433fa8 on 7.x-3.x authored by millenniumtree
    Issue #2897017 by millenniumtree: Fatal error on backup deletion if...
helmo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

luongosb’s picture

Could this also be added to hosting_site_backup_manager?

profiles/hostmaster/modules/aegir/hosting_site_backup_manager/hosting_site_backup_manager.module

Thank you!

helmo’s picture

It should be in there if you have upgraded to 3.12.0 or later. Please create a new issue referencing this one if you still have this problem after updating.