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
Expected behavior
What did you expect would happen?
To have an interactive shell on a Drupal site.
Actual behavior
What happened instead?
PHP Fatal error: Declaration of Drush\Psysh\Shell::hasCommand($input) must be compatible with Psy\Shell::hasCommand(string $input): bool in /var/www/html/vendor/drush/drush/src/Psysh/Shell.php on line 37
Fatal error: Declaration of Drush\Psysh\Shell::hasCommand($input) must be compatible with Psy\Shell::hasCommand(string $input): bool in /var/www/html/vendor/drush/drush/src/Psysh/Shell.php on line 37
[warning] Drush command terminated abnormally.
dev0-web:/var/www/html$
Workaround
Is there another way to do the desired action?
No
System Configuration
Q
A
Drush version?
10.6.1, 10.4.0
Drupal version?
9.3.x, 9.4.x
PHP version
8.0 or 7.4
OS
Linux
Same failure with Drush 9.7.3, Drupal 8.9.x, PHP 7.0.
It does work with Drush 8.4.8 ,Drupal 7.80-dev, PHP 7.3
Additional information
These are all ddev environments. I first noticed this on 2021-12-07 but as I don't use the command often I don't know what I may have done that is related to the failure.
I tried a completely fresh ddev environment (deleted the whole lot and started from scratch) and got the same failure.
The text was updated successfully, but these errors were encountered:
Describe the bug
Fatal error on
drush php:cli
To Reproduce
What did you do?
Expected behavior
What did you expect would happen?
To have an interactive shell on a Drupal site.
Actual behavior
What happened instead?
Workaround
Is there another way to do the desired action?
No
System Configuration
Same failure with Drush 9.7.3, Drupal 8.9.x, PHP 7.0.
It does work with Drush 8.4.8 ,Drupal 7.80-dev, PHP 7.3
Additional information
These are all ddev environments. I first noticed this on 2021-12-07 but as I don't use the command often I don't know what I may have done that is related to the failure.
I tried a completely fresh ddev environment (deleted the whole lot and started from scratch) and got the same failure.
The text was updated successfully, but these errors were encountered: