Upgraded UI Patterns - https://www.drupal.org/project/ui_patterns โ to version 2 and ran into this error:
PHP Fatal error: Uncaught Error: Class "Drupal\ui_patterns\UiPatterns" not found in /var/www/html/web/modules/contrib/ui_patterns_layout_builder/ui_patterns_layout_builder.module:30
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(552): ui_patterns_layout_builder_layout_alter()
#1 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(386): Drupal\Core\Extension\ModuleHandler->alter()
#2 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(341): Drupal\Core\Plugin\DefaultPluginManager->alterDefinitions()
#3 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(213): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#4 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#5 /var/www/html/web/core/modules/layout_builder/src/Section.php(169): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#6 /var/www/html/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(252): Drupal\layout_builder\Section->getDefaultRegion()
#7 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(170): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->getDefaultRegion()
#8 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(155): Drupal\Core\Entity\EntityDisplayBase->init()
#9 /var/www/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(181): Drupal\Core\Entity\EntityDisplayBase->__construct()
#10 /var/www/html/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(48): Drupal\Core\Entity\Entity\EntityViewDisplay->__construct()
#11 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(418): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->__construct()
#12 /var/www/html/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php(41): Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords()
#13 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(186): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplayStorage->mapFromStorageRecords()
#14 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(312): Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple()
#15 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(608): Drupal\Core\Entity\EntityStorageBase->loadMultiple()
#16 /var/www/html/web/core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php(156): Drupal\Core\Entity\EntityStorageBase->loadByProperties()
#17 /var/www/html/web/core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php(101): Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver->bundleIdsWithLayoutBuilderDisplays()
#18 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver->getDerivativeDefinitions()
#19 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives()
#20 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(337): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#21 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(213): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#22 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#23 /var/www/html/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#24 /var/www/html/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(76): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance()
#25 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(62): Drupal\Component\Plugin\PluginManagerBase->createInstance()
#26 /var/www/html/web/core/modules/block/src/BlockPluginCollection.php(57): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin()
#27 /var/www/html/web/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(80): Drupal\block\BlockPluginCollection->initializePlugin()
#28 /var/www/html/web/core/modules/block/src/BlockPluginCollection.php(45): Drupal\Component\Plugin\LazyPluginCollection->get()
#29 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(88): Drupal\block\BlockPluginCollection->get()
#30 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(104): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->setConfiguration()
#31 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(55): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->addInstanceId()
#32 /var/www/html/web/core/modules/block/src/BlockPluginCollection.php(34): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->__construct()
#33 /var/www/html/web/core/modules/block/src/Entity/Block.php(158): Drupal\block\BlockPluginCollection->__construct()
#34 /var/www/html/web/core/modules/block/src/Entity/Block.php(168): Drupal\block\Entity\Block->getPluginCollection()
#35 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(298): Drupal\block\Entity\Block->getPluginCollections()
#36 /var/www/html/web/core/modules/block/src/Entity/Block.php(348): Drupal\Core\Config\Entity\ConfigEntityBase->preSave()
#37 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(528): Drupal\block\Entity\Block->preSave()
#38 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(483): Drupal\Core\Entity\EntityStorageBase->doPreSave()
#39 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(257): Drupal\Core\Entity\EntityStorageBase->save()
#40 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php(354): Drupal\Core\Config\Entity\ConfigEntityStorage->save()
#41 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(614): Drupal\Core\Entity\EntityBase->save()
#42 /var/www/html/web/core/modules/block/block.module(189): Drupal\Core\Config\Entity\ConfigEntityBase->save()
#43 [internal function]: block_rebuild()
#44 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(416): call_user_func_array()
#45 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(395): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
#46 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(415): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#47 /var/www/html/web/core/includes/common.inc(477): Drupal\Core\Extension\ModuleHandler->invokeAll()
#48 /var/www/html/web/core/includes/utility.inc(41): drupal_flush_all_caches()
#49 /var/www/html/vendor/drush/drush/src/Commands/core/CacheRebuildCommands.php(70): drupal_rebuild()
#50 [internal function]: Drush\Commands\core\CacheRebuildCommands->rebuild()
#51 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#52 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#53 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(175): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#54 /var/www/html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(387): Consolidation\AnnotatedCommand\CommandProcessor->process()
#55 /var/www/html/vendor/symfony/console/Command/Command.php(326): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#56 /var/www/html/vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run()
#57 /var/www/html/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#58 /var/www/html/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#59 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()
#60 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#61 /var/www/html/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#62 /var/www/html/vendor/drush/drush/drush(4): require('...')
#63 /var/www/html/vendor/bin/drush(119): include('...')
#64 {main}
thrown in /var/www/html/web/modules/contrib/ui_patterns_layout_builder/ui_patterns_layout_builder.module on line 30
Fatal error: Uncaught Error: Class "Drupal\ui_patterns\UiPatterns" not found in /var/www/html/web/modules/contrib/ui_patterns_layout_builder/ui_patterns_layout_builder.module:30
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(552): ui_patterns_layout_builder_layout_alter()
#1 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(386): Drupal\Core\Extension\ModuleHandler->alter()
#2 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(341): Drupal\Core\Plugin\DefaultPluginManager->alterDefinitions()
#3 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(213): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#4 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#5 /var/www/html/web/core/modules/layout_builder/src/Section.php(169): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#6 /var/www/html/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(252): Drupal\layout_builder\Section->getDefaultRegion()
#7 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(170): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->getDefaultRegion()
#8 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(155): Drupal\Core\Entity\EntityDisplayBase->init()
#9 /var/www/html/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(181): Drupal\Core\Entity\EntityDisplayBase->__construct()
#10 /var/www/html/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(48): Drupal\Core\Entity\Entity\EntityViewDisplay->__construct()
#11 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(418): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->__construct()
#12 /var/www/html/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php(41): Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords()
#13 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(186): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplayStorage->mapFromStorageRecords()
#14 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(312): Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple()
#15 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(608): Drupal\Core\Entity\EntityStorageBase->loadMultiple()
#16 /var/www/html/web/core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php(156): Drupal\Core\Entity\EntityStorageBase->loadByProperties()
#17 /var/www/html/web/core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php(101): Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver->bundleIdsWithLayoutBuilderDisplays()
#18 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\layout_builder\Plugin\Derivative\ExtraFieldBlockDeriver->getDerivativeDefinitions()
#19 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives()
#20 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(337): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#21 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(213): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#22 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#23 /var/www/html/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#24 /var/www/html/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(76): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance()
#25 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(62): Drupal\Component\Plugin\PluginManagerBase->createInstance()
#26 /var/www/html/web/core/modules/block/src/BlockPluginCollection.php(57): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin()
#27 /var/www/html/web/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(80): Drupal\block\BlockPluginCollection->initializePlugin()
#28 /var/www/html/web/core/modules/block/src/BlockPluginCollection.php(45): Drupal\Component\Plugin\LazyPluginCollection->get()
#29 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(88): Drupal\block\BlockPluginCollection->get()
#30 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(104): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->setConfiguration()
#31 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(55): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->addInstanceId()
#32 /var/www/html/web/core/modules/block/src/BlockPluginCollection.php(34): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->__construct()
#33 /var/www/html/web/core/modules/block/src/Entity/Block.php(158): Drupal\block\BlockPluginCollection->__construct()
#34 /var/www/html/web/core/modules/block/src/Entity/Block.php(168): Drupal\block\Entity\Block->getPluginCollection()
#35 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(298): Drupal\block\Entity\Block->getPluginCollections()
#36 /var/www/html/web/core/modules/block/src/Entity/Block.php(348): Drupal\Core\Config\Entity\ConfigEntityBase->preSave()
#37 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(528): Drupal\block\Entity\Block->preSave()
#38 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(483): Drupal\Core\Entity\EntityStorageBase->doPreSave()
#39 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(257): Drupal\Core\Entity\EntityStorageBase->save()
#40 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php(354): Drupal\Core\Config\Entity\ConfigEntityStorage->save()
#41 /var/www/html/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(614): Drupal\Core\Entity\EntityBase->save()
#42 /var/www/html/web/core/modules/block/block.module(189): Drupal\Core\Config\Entity\ConfigEntityBase->save()
#43 [internal function]: block_rebuild()
#44 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(416): call_user_func_array()
#45 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(395): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
#46 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(415): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#47 /var/www/html/web/core/includes/common.inc(477): Drupal\Core\Extension\ModuleHandler->invokeAll()
#48 /var/www/html/web/core/includes/utility.inc(41): drupal_flush_all_caches()
#49 /var/www/html/vendor/drush/drush/src/Commands/core/CacheRebuildCommands.php(70): drupal_rebuild()
#50 [internal function]: Drush\Commands\core\CacheRebuildCommands->rebuild()
#51 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#52 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#53 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(175): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#54 /var/www/html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(387): Consolidation\AnnotatedCommand\CommandProcessor->process()
#55 /var/www/html/vendor/symfony/console/Command/Command.php(326): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#56 /var/www/html/vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run()
#57 /var/www/html/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#58 /var/www/html/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#59 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()
#60 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#61 /var/www/html/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#62 /var/www/html/vendor/drush/drush/drush(4): require('...')
#63 /var/www/html/vendor/bin/drush(119): include('...')
#64 {main}
thrown in /var/www/html/web/modules/contrib/ui_patterns_layout_builder/ui_patterns_layout_builder.module on line 30
[warning] Drush command terminated abnormally.
Active
1.0
Code