Problem/Motivation
When running drush queue:list in Drupal 10/Drush 11/PHP 8.1.10, I get the following error and the command terminates abnormally.
TypeError: Drush\Drupal\Commands\core\QueueCommands::getWorkerManager(): Return value must be of type Drupal\Core\Queue\QueueWorkerManager, Drupal\queue_order\Queue\QueueWorkerManager returned in Drush\Drupal\Commands\core\QueueCommands->getWorkerManager() (line 35 of /app/vendor/drush/drush/src/Drupal/Commands/core/QueueCommands.php).
Steps to reproduce
- Run
drush queue:list. - See the error.
Issue fork queue_order-3329871
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
volegerI filled related issue. See https://github.com/drush-ops/drush/pull/5344
Comment #3
volegerChanges applied in drush project. Now we need to add incompatibility info
Comment #5
volegerComment #7
volegerComment #9
volegerDrush published the release with a fix https://github.com/drush-ops/drush/releases/tag/11.5.0