You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an AssertionError when trying to run any drush command using Drush 13 in my Lando environment. The error message suggests that a custom logger should be added using $this->add() instead of replacing Drush's logger, with a reference to Drush PR #5022.
[error] AssertionError: Instead of using replacing Drush's logger, use $this->add() on DrushLoggerManager to add a custom logger. See https://github.com/drush-ops/drush/pull/5022 in assert() (line 76 of /app/vendor/drush/drush/src/Commands/DrushCommands.php) #0 /app/vendor/drush/drush/src/Commands/DrushCommands.php(76): assert(false, 'Instead of usin...')
Environment:
Drush 13.0
Lando environment
PHP version: 8.3
The text was updated successfully, but these errors were encountered:
Natshah
changed the title
Drush 13 Not Working with Lando: AssertionError in DrushCommands.php when Running drush status
Fix Not Working Drush 13 with Lando: AssertionError in DrushCommands.php when Running drush status
Oct 7, 2024
I encountered an AssertionError when trying to run any drush command using Drush 13 in my Lando environment. The error message suggests that a custom logger should be added using $this->add() instead of replacing Drush's logger, with a reference to Drush PR #5022.
[error] AssertionError: Instead of using replacing Drush's logger, use $this->add() on DrushLoggerManager to add a custom logger. See https://github.com/drush-ops/drush/pull/5022 in assert() (line 76 of /app/vendor/drush/drush/src/Commands/DrushCommands.php) #0 /app/vendor/drush/drush/src/Commands/DrushCommands.php(76): assert(false, 'Instead of usin...')
Environment:
The text was updated successfully, but these errors were encountered: