As a new OpenDevShop user, Drush 8.3.2 threw this error at me:

WD php: Error: Call to undefined function provision_autoload_register_prefix() in certificate_provision_register_autoload() (line 22 of /var/aegir/devmaster-1.x/profiles/devmaster/modules/contrib/hosting_https/submodules/certificate/drush/certificate.drush.inc).

As it turns out, this can easily be fixed by running Drush as the aegir user.

Comments

Gogowitsch created an issue. See original summary.

gogowitsch’s picture

Assigned: gogowitsch » Unassigned
Status: Active » Needs review
StatusFileSize
new1.19 KB

Changes in this patch:

  • Tell user why Drush is failing
  • Use __DIR__ (available since PHP 5.3) instead of dirname(__FILE__) to simplify code
  • Improved PHP DocBlocks: correct type so PhpStorm is happy

Review, comments and questions are welcome.