Drupal\Component\Plugin\Exception\PluginException: Plugin [error] (purge_ui_block_queuer) instance class "Drupal\purge_ui\Plugin\Purge\Queuer\PurgeBlockQueuer" does not exist.

Created on 27 August 2018, almost 6 years ago
Updated 17 August 2023, 11 months ago

Just encountered a fatal error on a site after a code deployment which included an update hook to disable purge_ui, a site threw an unrecoverable error that we didn't experience during testing.

Drupal\Component\Plugin\Exception\PluginException: Plugin [error] (purge_ui_block_queuer) instance class "Drupal\purge_ui\Plugin\Purge\Queuer\PurgeBlockQueuer" does not exist.

Stacktrace

Stack trace:
#0
/docroot/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(17):
Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass('purge_ui_block_...',
Array, 'Drupal\\purge\\Pl...')
#1
/docroot/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(84):
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('purge_ui_block_...',
Array)
#2
/docroot/modules/contrib/purge/src/IteratingServiceBaseTrait.php(36):
Drupal\Component\Plugin\PluginManagerBase->createInstance('purge_ui_block_...')
#3
/docroot/modules/contrib/purge/src/Plugin/Purge/Queuer/QueuersService.php(57):
Dru...Manager.php(188):
Drupal\Core\Cache\Cache::invalidateTags(Array)
#9
/docroot/core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php(31):
Drupal\Core\Plugin\DefaultPluginManager->clearCachedDefinitions()
#10
/docroot/core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php(83):
Drupal\Core\Plugin\CachedDiscoveryClearer->clearCachedDefinitions()
#11
/docroot/modules/contrib/lightning_core/lightning_core.drush.inc(29):
Drupal\Core\ProxyClass\Plugin\CachedDiscoveryClearer->clearCachedDefinitions()
#12
/vendor/drush/drush/includes/command.inc(422):
drush_lightning_core_pre_updatedb()
#13
/vendor/drush/drush/includes/command.inc(231):
_drush_invoke_hooks(Array, Array)
#14
/vendor/drush/drush/includes/command.inc(199):
drush_command()
#15
/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67):
drush_dispatch(Array)
#16
/vendor/drush/drush/includes/preflight.inc(66):
Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#17 /vendor/drush/drush/drush.php(12):
drush_main()
#18 {main}

Steps To Reproduce

Not sure

πŸ› Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands dennis_meuwissen

    We encountered this today after enabling the Purge UI module (where it is normally disabled in this environment), then after using it we uninstalled it. We then got the exact same error as in the original issue, which was very unexpected and led to some unfortunate downtime.

Production build 0.69.0 2024