I get this error when first running drush. I have a simlink to ~/drush-master/drush in ~/bin, which is in my path. which drush gives ~/bin/drush
Drush runs, here's the output:
...
Project views_bulk_operations was updated successfully. Installed version is now 6.x-1.16.
Backups were saved into the directory [ok]
/home/publicsp/drush-backups/publicsp_drupal/20130905175132/modules/views_bulk_operations.
Project webform was updated successfully. Installed version is now 6.x-3.19.
Backups were saved into the directory /home/publicsp/drush-backups/publicsp_drupal/20130905175132/modules/webform. [ok]
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot redeclare drush_cache_clear_types() (previously declared in
/home/publicsp/drush-master/commands/core/cache.drush.inc:183) in
/home/publicsp/public_html/drush/commands/core/clear.cache.inc, line 50
Fatal error: Cannot redeclare drush_cache_clear_types() (previously declared in /home/publicsp/drush-master/commands/core/cache.drush.inc:183) in /home/publicsp/public_html/drush/commands/core/clear.cache.inc on line 50
The external command could not be executed due to an application error. [error]
Backups were restored successfully. [ok]
Backups were restored successfully. ...
php 5.3.27
php --version
PHP 5.3.27 (cli) (built: Aug 1 2013 00:39:03)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
(on greengeeks with shell access)
I manually installed drush with the link for the zip from the github page today, sept 5 2013
Comments
Comment #1
greg.1.anderson commentedIs /home/publicsp/public_html your Drupal root? You should not have Drush in your Drupal root. Get rid of /home/publicsp/public_html/drush.
Please post future support requests to Stack Exchange, and bug on Git, as the project page requests. Thanks.
Comment #2
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to
closed (duplicate).Use our Github project for contributing code, or reporting bugs, or requesting features.