- Issue created by @loze
- Status changed to Postponed: needs info
5 months ago 12:07pm 30 June 2024 - π¬π§United Kingdom jefflogan
Thanks for reporting the issue, i'm having trouble replicating the issue, as I'm not seeing the issue on a new install using Drupal 10.2.6 with Drush 12.5.2 installed. So please give a little more information, about which versions of Drupal and Drush are causing this conflict.
I wonder if drush, or a dependency needs updating following updating core or modules.
You could try running the following to see if this fixes the issue:
composer update drush/drush -W
If the above does, then I possibly need to update the project composer files, to ensure the correct version of drush is available to allow the autowiring.
- Assigned to jefflogan
- π¬π§United Kingdom jefflogan
I've created a new release, so that it's clearer that the drush version of 12.5.2 is required for the autowiring to work. Hopefully this fixes the above issue.
- πΊπΈUnited States loze Los Angeles
Thanks @jefflogan
Im using Drush version 12.5.2.0
And drupal version 10.3.0I still see the debug waning when running drush -vvv
[debug] Add a commandfile class: Drupal\webform\Commands\WebformSanitizeSubmissionsCommands [2.16 sec, 94.85 MB] [debug] Add a commandfile class: Drupal\pathauto\Commands\PathautoCommands [2.16 sec, 94.85 MB] [debug] Add a commandfile class: Drupal\xmlsitemap\Commands\XmlSitemapCommands [2.16 sec, 94.87 MB] [debug] Could not instantiate Drupal\http_client_error_status\Drush\Commands\BlockCommands: Cannot autowire service "Drupal\http_client_error_status\Main": argument "$main" of method "Drupal\http_client_error_status\Drush\Commands\BlockCommands::_construct()", you should configure its value explicitly. [2.18 sec, 96.17 MB] Drush Commandline Tool 12.5.2.0
- π¬π§United Kingdom jefflogan
I've updated this to fix the drush error, there's a new release 3.1.3 with these changes.
- Status changed to Fixed
4 months ago 10:48pm 5 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.