Povilas Brilius
3 min readFeb 7, 2021

--

Drupal ultimately returns a set of errors upon its drush command usage —

composer require --dev drush/drush

tail -f /var/log/apache2/drupal.err is this time exhaustive and generous with the backtrace information provided —

[Sun Feb 07 22:41:22.449538 2021] [php7:notice] [pid 77821] [client 127.0.0.1:42766] Error: Class 'Drush\\Log\\DrushLog' not found in /var/www/vhosts/drupal/core/lib/Drupal/Component/DependencyInjection/Container.php on line 257 #0 /var/www/vhosts/drupal/core/lib/Drupal/Component/DependencyInjection/Container.php(171)…

--

--

Povilas Brilius

PHP Developer in e-commerce and e-loans industry fields.