Drupal 8 Error – The "entity_type:block_content_type" plugin does not exist.

I get the following error when trying to clear cache on a Drupal 8 site. Any ideas?

$ drush cache-rebuild
exception 'DrupalComponentPluginExceptionPluginNotFoundException' with message 'The "entity_type:block_content_type" plugin  [error]
does not exist.' in /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:52
Stack trace:
#0 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(25):
DrupalCorePluginDefaultPluginManager->doGetDefinition(Array, 'entity_type:blo...', true)
#1 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16):
DrupalCorePluginDefaultPluginManager->getDefinition('entity_type:blo...')
#2 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Condition/ConditionManager.php(50):
DrupalCorePluginFactoryContainerFactory->createInstance('entity_type:blo...', Array)
#3 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php(81):
DrupalCoreConditionConditionManager->createInstance('entity_type:blo...', Array)
#4 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(80):
DrupalCorePluginDefaultLazyPluginCollection->initializePlugin('entity_type:blo...')
#5 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Condition/ConditionPluginCollection.php(26):
DrupalComponentPluginLazyPluginCollection->get('entity_type:blo...')
#6 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(148):
DrupalCoreConditionConditionPluginCollection->get('entity_type:blo...')
#7 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php(114):
DrupalComponentPluginLazyPluginCollection->getIterator()
#8 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Condition/ConditionPluginCollection.php(33):
DrupalCorePluginDefaultLazyPluginCollection->getConfiguration()
#9 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(320):
DrupalCoreConditionConditionPluginCollection->getConfiguration()
#10 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Entity/EntityStorageBase.php(434):
DrupalCoreConfigEntityConfigEntityBase->preSave(Object(DrupalCoreConfigEntityConfigEntityStorage))
#11 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Entity/EntityStorageBase.php(389):
DrupalCoreEntityEntityStorageBase->doPreSave(Object(DrupalblockEntityBlock))
#12 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(259):
DrupalCoreEntityEntityStorageBase->save(Object(DrupalblockEntityBlock))
#13 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Entity/Entity.php(364):
DrupalCoreConfigEntityConfigEntityStorage->save(Object(DrupalblockEntityBlock))
#14 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(637):
DrupalCoreEntityEntity->save()
#15 /var/www/sites/beprobeproud/htdocs/core/modules/block/block.module(156): DrupalCoreConfigEntityConfigEntityBase->save()
#16 [internal function]: block_rebuild()
#17 /var/www/sites/beprobeproud/htdocs/core/lib/Drupal/Core/Extension/ModuleHandler.php(402):
call_user_func_array('block_rebuild', Array)
#18 /var/www/sites/beprobeproud/htdocs/core/includes/common.inc(1133): DrupalCoreExtensionModuleHandler->invokeAll('rebuild')
#19 /var/www/sites/beprobeproud/htdocs/core/includes/utility.inc(51): drupal_flush_all_caches()
#20 /usr/local/share/drush/commands/core/cache.drush.inc(300): drupal_rebuild(Object(ComposerAutoloadClassLoader),
Object(SymfonyComponentHttpFoundationRequest))
#21 [internal function]: drush_cache_rebuild()
#22 /usr/local/share/drush/includes/command.inc(422): call_user_func_array('drush_cache_reb...', Array)
#23 /usr/local/share/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#24 [internal function]: drush_command()
#25 /usr/local/share/drush/includes/command.inc(199): call_user_func_array('drush_command', Array)
#26 /usr/local/share/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#27 /usr/local/share/drush/includes/preflight.inc(66): DrushBootBaseBoot->bootstrap_and_dispatch()
#28 /usr/local/share/drush/drush.php(12): drush_main()
#29 {main}
Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed