mlutfy / hosting_wordpress

WordPress support for the Aegir project (front-end module).
12 stars 10 forks source link

Restore from Drupal backup failed - Call to undefined function hosting_wpsite_get_backup() in drush_hosting_wpsite_pre_hosting_task() #25

Closed socialnicheguru closed 6 years ago

socialnicheguru commented 6 years ago

Ran task to restore a Drupal site from a backup It failed with the following error:

WD php: Error: Call to undefined function hosting_wpsite_get_backup() in drush_hosting_wpsite_pre_hosting_task() (line 85 of /var/aegir/hostmaster-7.x-3.x-2018-08-08-0255/sites/mysite/modules/hosting_wordpress/hosting_wpsite/hosting_wpsite.drush.inc). - error

Drush command terminated abnormally due to an unrecoverable error.

mlutfy commented 6 years ago

We must have encountered this pretty much at the same time. I pushed a fix/workaround in the 7.x-3.x branch: https://github.com/mlutfy/hosting_wordpress/commit/0896569b8b65ec8f8e6e0a807fbeaa0d8718d0bc