2017-06-21 3 views
0

[bootstrap.inc] [1] [1]:https://i.stack.imgur.com/cnbLZ.pngDrushは、PHPのエラーを与えてインストール

ここで何が起こっているかわかりません。これは、AccountInterfaceが既にboostrap.incに含まれているかのように見えます。

drull globalyを更新しようとしましたが、最新バージョンを取得しました。しかし、ローカルファイルでは、私はまだバージョン5.10.0になっていると言います。ローカルフォルダ内のcomposer.jsonには、私は8.1としています。 ありがとうございます!

[email protected]:/var/www/drupalvm$ drush dl basic                         

PHP Fatal error: Class 'Drupal\Core\Session\AccountInterface' not found in 
/var/www/drupalvm/core/includes/bootstrap.inc on line 63     
Drush command terminated abnormally due to an unrecoverable error.                   
[error] Error: Class 'Drupal\Core\Session\AccountInterface' not found in 
/var/www/drupalvm/core/includes/bootstrap.inc, line 63         

答えて

0
  1. 私は何か他のもの(例: drush5)に、元のdrushディレクトリの名前を変更した後、再インストールdrush。

  2. 私はその後、 エラーが別々のPHPのエラーまし

  3. 削除さdrush5フォルダ:
    このlink と走った須藤はapt-getをインストールのphp-xmlのに続い未定義の機能Drush \ UpdateServiceの\ simplexml_load_file()の呼び出しを

関連する問題