Trying to create a "DROWL Header Slides Menu Slideshow Slide Block" will lead to the following error:
The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\drowl_header_slides\Plugin\Block\MenuSlideshowRefSlidesBlock::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, array given, called in /var/www/html/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php on line 25 in Drupal\drowl_header_slides\Plugin\Block\MenuSlideshowRefSlidesBlock->__construct() (line 64 of modules/custom/drowl_header_slides-3263038/src/Plugin/Block/MenuSlideshowRefSlidesBlock.php).
Drupal\drowl_header_slides\Plugin\Block\MenuSlideshowRefSlidesBlock->__construct(Array, 'drowl_header_menu_slideshow_ref_block', Array) (Line: 25)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('drowl_header_menu_slideshow_ref_block', Array) (Line: 76)
Drupal\Component\Plugin\PluginManagerBase->createInstance('drowl_header_menu_slideshow_ref_block', Array) (Line: 62)
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin('drowl_header_menu_slideshow_ref_block') (Line: 57)
Drupal\block\BlockPluginCollection->initializePlugin('drowl_header_menu_slideshow_ref_block') (Line: 80)
Drupal\Component\Plugin\LazyPluginCollection->get('drowl_header_menu_slideshow_ref_block') (Line: 45)
Drupal\block\BlockPluginCollection->get('drowl_header_menu_slideshow_ref_block') (Line: 83)
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->setConfiguration(Array) (Line: 99)
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->addInstanceId('drowl_header_menu_slideshow_ref_block', Array) (Line: 55)
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->__construct(Object, 'drowl_header_menu_slideshow_ref_block', Array) (Line: 34)
Drupal\block\BlockPluginCollection->__construct(Object, 'drowl_header_menu_slideshow_ref_block', Array, NULL) (Line: 156)
Drupal\block\Entity\Block->getPluginCollection() (Line: 145)
Drupal\block\Entity\Block->getPlugin() (Line: 128)
Drupal\block\BlockForm->form(Array, Object) (Line: 106)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 531)
Drupal\Core\Form\FormBuilder->retrieveForm('block_form', Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm(Object) (Line: 27)
Drupal\block\Controller\BlockAddController->blockAddConfigureForm('drowl_header_menu_slideshow_ref_block', 'bartik')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
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: 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: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Inside a clean Drupal 9.4 instance:
Fix the issue
Closed: outdated
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.