I have composer manager installed globally. Now whenever I do a drush dl I get this error:

PHP Fatal error: Call to undefined function composer_manager_initialized() in /path/to/.drush/composer_manager/composer_manager.drush.inc on line 14

I added this to the drush.inc file:

if (function_exists('composer_manager_initialized') && !composer_manager_initialized() || getenv('SKIP_COMPOSER_UPDATE')) {

I'm not sure if this is the right way, but my error is gone.

Comments

dagomar created an issue. See original summary.

markhalliwell’s picture

Status: Active » Closed (outdated)

Since this module no longer officially supports Drupal 8 (because it has native composer support since 8.1.x+), marking this issue as outdated.