TypeError: Argument 4 passed to Drupal\pagedesigner\Plugin\Block\Pagedesigner::__construct() must be an instance of Drupal\pagedesigner\Service\RendererPluginManager, instance of Drupal\pagedesigner\Service\HandlerPluginManager given, called in /home/hsamaniego/public_html/modules/pagedesigner/src/Plugin/Block/Pagedesigner.php on line 52 en Drupal\pagedesigner\Plugin\Block\Pagedesigner->__construct() (línea 30 de /home/hsamaniego/public_html/modules/pagedesigner/src/Plugin/Block/Pagedesigner.php) #0 /home/hsamaniego/public_html/modules/pagedesigner/src/Plugin/Block/Pagedesigner.php(52): Drupal\pagedesigner\Plugin\Block\Pagedesigner->__construct(Array, 'pagedesigner', Array, Object(Drupal\pagedesigner\Service\HandlerPluginManager)) #1 /home/hsamaniego/public_html/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(21): Drupal\pagedesigner\Plugin\Block\Pagedesigner::create(Object(Drupal\Core\DependencyInjection\Container), Array, 'pagedesigner', Array) #2 /home/hsamaniego/public_html/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(76): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('pagedesigner', Array) #3 /home/hsamaniego/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(62): Drupal\Component\Plugin\PluginManagerBase->createInstance('pagedesigner', Array) #4 /home/hsamaniego/public_html/core/modules/block/src/BlockPluginCollection.php(57): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin('pagedesigner') #5 /home/hsamaniego/public_html/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(80): Drupal\block\BlockPluginCollection->initializePlugin('pagedesigner') #6 /home/hsamaniego/public_html/core/modules/block/src/BlockPluginCollection.php(45): Drupal\Component\Plugin\LazyPluginCollection->get('pagedesigner') #7 /home/hsamaniego/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(83): Drupal\block\BlockPluginCollection->get('pagedesigner') #8 /home/hsamaniego/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(99): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->setConfiguration(Array) #9 /home/hsamaniego/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(55): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->addInstanceId('pagedesigner', Array) #10 /home/hsamaniego/public_html/core/modules/block/src/BlockPluginCollection.php(34): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->__construct(Object(Drupal\Core\Block\BlockManager), 'pagedesigner', Array) #11 /home/hsamaniego/public_html/core/modules/block/src/Entity/Block.php(156): Drupal\block\BlockPluginCollection->__construct(Object(Drupal\Core\Block\BlockManager), 'pagedesigner', Array, NULL) #12 /home/hsamaniego/public_html/core/modules/block/src/Entity/Block.php(145): Drupal\block\Entity\Block->getPluginCollection() #13 /home/hsamaniego/public_html/core/modules/block/src/BlockForm.php(134): Drupal\block\Entity\Block->getPlugin() #14 /home/hsamaniego/public_html/core/lib/Drupal/Core/Entity/EntityForm.php(117): Drupal\block\BlockForm->form(Array, Object(Drupal\Core\Form\FormState)) #15 [internal function]: Drupal\Core\Entity\EntityForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #16 /home/hsamaniego/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(519): call_user_func_array(Array, Array) #17 /home/hsamaniego/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(276): Drupal\Core\Form\FormBuilder->retrieveForm('block_form', Object(Drupal\Core\Form\FormState)) #18 /home/hsamaniego/public_html/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(61): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\block\BlockForm), Object(Drupal\Core\Form\FormState)) #19 /home/hsamaniego/public_html/core/modules/block/src/Controller/BlockAddController.php(27): Drupal\Core\Entity\EntityFormBuilder->getForm(Object(Drupal\block\Entity\Block)) #20 [internal function]: Drupal\block\Controller\BlockAddController->blockAddConfigureForm('pagedesigner', 'hsamaniego') #21 /home/hsamaniego/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #22 /home/hsamaniego/public_html/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #23 /home/hsamaniego/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #24 /home/hsamaniego/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #25 /home/hsamaniego/public_html/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #26 /home/hsamaniego/public_html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #27 /home/hsamaniego/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 /home/hsamaniego/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 /home/hsamaniego/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #30 /home/hsamaniego/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #31 /home/hsamaniego/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #32 /home/hsamaniego/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #33 /home/hsamaniego/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #34 /home/hsamaniego/public_html/core/lib/Drupal/Core/DrupalKernel.php(693): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #35 /home/hsamaniego/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #36 {main}.

Comments

Nelo_Drup created an issue. See original summary.

pvbergen’s picture

StatusFileSize
new5.42 KB

Thanks for the report.
The block you want to add is obsolete and the functionality has been moved to pagedesigner_parts.

The attached patch removes the block from the pagedesigner module.

pvbergen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

avpaderno’s picture

Issue tags: -Error create block with page designer drupal 8

I am removing the issue tags wrongly used. I apologize for bumping this issue.