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 after upgrading to drush 13 #6242

Open
sanket10078 opened this issue Feb 27, 2025 · 0 comments
Open

Fatal error after upgrading to drush 13 #6242

sanket10078 opened this issue Feb 27, 2025 · 0 comments

Comments

@sanket10078
Copy link

sanket10078 commented Feb 27, 2025

Describe the bug
Getting Fatal error whenever I run any command after upgrading to Drush 13 -

Fatal error: Declaration of Consolidation\SiteProcess\ProcessManagerAwareTrait::processManager() must be compatible with Drush\Commands\DrushCommands::processManager(): Drush\SiteAlias\ProcessManager in /code/vendor/consolidation/site-process/src/ProcessManagerAwareTrait.php on line 22

To Reproduce
Upgrade from drush 12 to 13

Expected behavior
Expected drush 13 to work smoothly.

Workaround
I had to update this line manually and ensure it matches with https://github.com/consolidation/site-process/blob/main/src/ProcessManagerAwareTrait.php#L22

https://github.com/drush-ops/drush/blob/13.3.3/src/Commands/DrushCommands.php#L151

System Configuration

Q A
Drush version? 13.x
Drupal version? 11.x/10.x
PHP version 8.x
OS? Mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant