Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error on drush core:cli with drush 8.4.10 and Drupal 7.88 #5134

Open
mvc1095 opened this issue Apr 22, 2022 · 0 comments
Open

Fatal error on drush core:cli with drush 8.4.10 and Drupal 7.88 #5134

mvc1095 opened this issue Apr 22, 2022 · 0 comments
Labels

Comments

@mvc1095
Copy link

mvc1095 commented Apr 22, 2022

Describe the bug
Fatal error on drush core:cli

To Reproduce
Ran drush core:cli

Expected behavior
To have an interactive shell on a Drupal site.

Actual behavior

PHP Fatal error:  Declaration of Drush\Psysh\Shell::hasCommand($input) must be compatible with Psy\Shell::hasCommand(string $input): bool in /root/.config/composer/vendor/drush/drush/lib/Drush/Psysh/Shell.php on line 35
Drush command terminated abnormally due to an unrecoverable error.
Error: Declaration of Drush\Psysh\Shell::hasCommand($input) must be compatible with Psy\Shell::hasCommand(string $input): bool in /root/.config/composer/vendor/drush/drush/lib/Drush/Psysh/Shell.php, line 35

Workaround

None.

System Configuration

Q A
Drush version? 8.4.10
Drupal version? 7.88
PHP version 7.4.28
OS? Linux

Additional information

Same issue as #4923 and #4917 but for Drupal 7 / Drush 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants