Open tbutterf opened 2 months ago
It looks like updating Drush to the latest supported version solves this issue.
However, sometimes updating Drush to the latest isn't possible or advisable. If a site is on Drupal 9, it can't run the latest (12.x) Drush version, since Drupal 9 uses the 11.x branch of Drush.
We were experiencing this with Drush 12.4.3 and updating to the latest 12.x (12.5.2) fixed it. However as noted above, Drush 12.x isn't compatible with Drupal 9, so this workaround won't work for Drupal <10.
I did some more testing in Drupal 9 with Drush 11.x, and it looks like Drush 11.x isn't affected by this issue. So, maybe nothing needs to be done?
The Drastically simplify using Composer Runtime API commit deployed to the master branch on May 8, 2024 is causing problems on Drupal 10 sites with Drush version 2.4.3. Composer builds properly, but when I try to run a Drush command, such as a cache-rebuild, I get the following error: