Drupal error due to DrushLog | Drupal 8

Drupal error due to DrushLog

Submitted by editor on Tue, 01/19/2021 - 17:42

Symptoms

You may have error messages like:

The website encountered an unexpected error. Please try again later.
and
Error: Class 'Drush\Log\DrushLog' not found in Drupal\Component\DependencyInjection\Container->createService() (line 257 of /home/drupal/public_html/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php)

probably this is due to DrushLog class.

 

Solution.

Include the package drush/drush
composer require drush/drush

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.