-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
[ *console* ] drupal cr triggers a fatal uncaught error #4261
Comments
drupal cr
triggers a fatal uncaught error
Can second this. Just came across this myself when running a fresh install of Drupal 9 and installing Drupal Console. |
Same here .. fresh d9 install + drupal console .. hit on this error while rebuilding caches |
Same here, i temporary remove code at line vendor/drupal/console/src/Utils/DrupalApi.php:266
Drupal console work for now but need official update. |
Same problem here. The workaround of @flashvnn seems to fix it. |
Same here: Drupal Console 1.9.5, Drupal Core 9.0.7 |
I had the same error, but running drupal site:mode dev with Drupal Console version 1.9.7 and Drupal core 9.0.3. |
I'm also having the same issue with Drupal 9.1.0 and Drupal Console 1.9.7. |
Same Drupal 9.1.0 Drupal Console 1.9.7 |
Same with Drupal Core 9.1.2 , Drupal Console 1.79.7. |
Same with Drupal Core 9.1.3, 1.9.7 |
DrupalKernelInterface::prepareLegacyRequest.
|
@flashvnn This did work for me on latest drupal 9 version.
NOTE: |
It looks like there's more deprecated functions in the Drupal console codebase. For fixing the
There is also a PR for this, it's #4269 To fix the
|
Alright this works, great work! |
Thanks, PR #4269 fixes that error! But why it is not merged yet almost year already? |
Would be great to see this one getting fixed and closed... |
Because the project has been abandoned? |
The PR has been approved but no news on this 😔 |
@jmolivas (creator of |
Pretty strange to base yourself on the Drupal slack channel. To check if a repository is active or "dead". The last commit on the repo here was on 15th of september (b957007). @jmolivas is not the only maintainer. So saying this project is "dead" is a bold statement to make... I do believe this project could use a few extra active maintainers that could work on clearing the queue and bring this project back up to speed. Those are the current maintainers, maybe try poking some of them as well. |
|
No, those are commits for a merge request: #4321 |
Oh, ok. My bad. |
If this project isn't dead, it's showing all the signs of being in a coma. 😉 |
Problem/Motivation
The issue was filed because clearing the Drupal cache is an essential part of a Drupal developer's workday.
How to reproduce
Here are the steps which led to the failure.
../vendor/bin/drupal deco ...
../vendor/bin/drupal cr
Solution
Rewrite calls to undefined methods.
The text was updated successfully, but these errors were encountered: