after activating the module I get:

WSOD with:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 2 passed to Drupal\cookies_module_handler\LibrariesService::__construct() must be an instance of Drupal\webprofiler\Entity\EntityManagerWrapper, instance of Drupal\Core\Entity\EntityTypeManager given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 in Drupal\cookies_module_handler\LibrariesService->__construct() (line 50 of modules/contrib/cookies_module_handler/src/LibrariesService.php).
Drupal\cookies_module_handler\LibrariesService->__construct(Object, Object, Object) (Line: 262)
Drupal\Component\DependencyInjection\Container->createService(Array, 'cookies_module_handler.libraries') (Line: 176)
Drupal\Component\DependencyInjection\Container->get('cookies_module_handler.libraries') (Line: 198)
Drupal::service('cookies_module_handler.libraries') (Line: 59)
cookies_module_handler_page_attachments(Array) (Line: 312)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 288)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 163)
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: 42)
Drupal\webform_product\RedirectMiddleware->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)

Comments

nojj created an issue. See original summary.

alexgreyhead’s picture

Hello nojj, I think this patch in issue #3273682 in this module's issue queue should fix things for you :)

/Al

nojj’s picture

Hi alexharies, thanks! the patch fixes this WSOD.

jfeltkamp’s picture

Status: Active » Closed (duplicate)