Problem/Motivation
I have an existing Drupal 10.2.3. After 'composer require' and enabling the module in the UI. I immediately get the following error.
I am able to 'drush pmu' on lb_plus to uninstall the module to restore functionality.
TypeError: Drupal\lb_plus\Element\LayoutBuilderPlus::__construct(): Argument #9 ($uuid) must be of type Drupal\Component\Uuid\Php, Drupal\Component\Uuid\Pecl given, called in /app/web/modules/contrib/lb_plus/src/Element/LayoutBuilderPlus.php on line 49 in Drupal\lb_plus\Element\LayoutBuilderPlus->__construct() (line 62 of modules/contrib/lb_plus/src/Element/LayoutBuilderPlus.php).
Drupal\lb_plus\Element\LayoutBuilderPlus::create(Object, Array, 'layout_builder', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('layout_builder', Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance('layout_builder', Array) (Line: 166)
Drupal\Core\Render\ElementInfoManager->createInstance('layout_builder') (Line: 135)
Drupal\Core\Render\ElementInfoManager->buildInfo('gin') (Line: 91)
Drupal\Core\Render\ElementInfoManager->getInfo('form') (Line: 817)
Drupal\Core\Form\FormBuilder->prepareForm('system_modules', Array, Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes