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

Drush failing to run all of a sudden #5015

Closed
justindasilva opened this issue Jan 13, 2022 · 3 comments · Fixed by #5018
Closed

Drush failing to run all of a sudden #5015

justindasilva opened this issue Jan 13, 2022 · 3 comments · Fixed by #5018

Comments

@justindasilva
Copy link

Describe the bug

All of a sudden, I'm getting the following Drush error when running drush rs 9001:

TypeError: Drush\Commands\core\RunserverCommands::parseUri(): Argument #1 ($uri) must be of type string, null given, called in /cms-drupal/vendor/drush/drush/src/Commands/core/RunserverCommands.php on line 96

To Reproduce
Run drush rs 9001
(Running this command has worked for months. Just stopped working today suddenly. No idea why.)

Expected behavior
My Drupal site starts up at localhost:9001 like it always has before.

Actual behavior
Getting the error I stated above.

System Configuration

Q A
Drush version? ^11
Drupal version? 9.32
PHP version 8.x
OS? Mac
weitzman added a commit to weitzman/drush that referenced this issue Jan 13, 2022
@weitzman
Copy link
Member

Fixed in d1fcb23. Release coming in next 24 hours or so. Thanks.

@justindasilva
Copy link
Author

Thank you for the response.

A side question that perhaps you can help me answer. I currently have the following dependency in my composer.json:

"drush/drush": "^11"

I'm just curious what your recommendation might be to make sure I'm always on a stable release.

@mvggitacc
Copy link

Fixed in d1fcb23. Release coming in next 24 hours or so. Thanks.

Thank you. The fix worked for me.

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

Successfully merging a pull request may close this issue.

3 participants