Problem/Motivation

I updated the module to 3.5 and it is breaking a deployment on Acquia due to DrushQueueWorkProcessor doesn't exist.
Note that I also use acquia_purge on top of the Purge module on Acquia Cloud.
Drush 12.3.0.0
Drupal 10.1
Purge: 3.5
Acquia Purge: 1.3
PHP 8.2
Acquia Cloud

Steps to reproduce

  1. Run drush p:queue-work or p-diagnostics or visit Purge configuration page
Fatal error: Uncaught Drupal\Component\Plugin\Exception\PluginException: Plugin (drush_purge_queue_work) instance class "Drupal\purge_drush\Plugin\Purge\Processor\DrushQueueWorkProcessor" does not exist. in /var/www/html/docroot/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php:97
Stack trace:
#0 /var/www/html/docroot/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(17): Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass()
#1 /var/www/html/docroot/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance()
#2 /var/www/html/docroot/modules/contrib/purge/src/IteratingServiceBaseTrait.php(35): Drupal\Component\Plugin\PluginManagerBase->createInstance()
#3 /var/www/html/docroot/modules/contrib/purge/src/Plugin/Purge/Processor/ProcessorsService.php(52): Drupal\purge\Plugin\Purge\Processor\ProcessorsService->initializePluginInstances()
#4 /var/www/html/docroot/modules/contrib/purge/modules/purge_processor_lateruntime/src/EventSubscriber/LateRuntimeProcessor.php(64): Drupal\purge\Plugin\Purge\Processor\ProcessorsService->get()
#5 /var/www/html/docroot/modules/contrib/purge/modules/purge_processor_lateruntime/src/EventSubscriber/LateRuntimeProcessor.php(82): Drupal\purge_processor_lateruntime\EventSubscriber\LateRuntimeProcessor->initialize()
#6 [internal function]: Drupal\purge_processor_lateruntime\EventSubscriber\LateRuntimeProcessor->onKernelTerminate()
#7 /var/www/html/docroot/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#8 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(116): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#9 /var/www/html/docroot/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(63): Symfony\Component\HttpKernel\HttpKernel->terminate()
#10 /var/www/html/docroot/core/lib/Drupal/Core/DrupalKernel.php(688): Drupal\Core\StackMiddleware\StackedHttpKernel->terminate()
#11 /var/www/html/vendor/drush/drush/src/Boot/DrupalBoot8.php(326): Drupal\Core\DrupalKernel->terminate()
#12 [internal function]: Drush\Boot\DrupalBoot8->terminate()
#13 {main}
  thrown in /var/www/html/docroot/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php on line 97

Comments

milovan created an issue. See original summary.

milovan’s picture

Issue summary: View changes
milovan’s picture

Issue summary: View changes
bburg’s picture

I ran into a similar error after updating drush and Drupal core. Clearing the cache/running database updates seems to have cleared it for me.

Coop920’s picture

#4 also worked for me. Ran into an error and then ran update.php . No updates were made, but the error did go away. Thanks!

nicxvan’s picture

I think this is related to the issue I opened that I just tagged. I think I have an idea of what is happening, I'm working on documenting it on the other ticket.

japerry’s picture

Yup definitely related.

japerry’s picture

The issue here is the plugins that were moved are still cached which is causing the error. The next version needs to bring back those plugins and then figure out a way to show them as deprecated so sites start using the new plugin instead.

baluertl’s picture

Status: Active » Closed (duplicate)