Problem/Motivation
The website encountered an unexpected error. Try again later.
TypeError: Drupal\webform_embed\EventSubscriber\WebformEmbedSubscriber::kernel_response(): Argument #1 ($event) must be of type Symfony\Component\EventDispatcher\Event, Symfony\Component\HttpKernel\Event\ResponseEvent given in Drupal\webform_embed\EventSubscriber\WebformEmbedSubscriber->kernel_response() (line 28 of modules/contrib/webform_embed/src/EventSubscriber/WebformEmbedSubscriber.php).
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 214)
Symfony\Component\HttpKernel\HttpKernel->filterResponse() (Line: 202)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Steps to reproduce
- Install 2.x-dev version and enable module.
Proposed resolution
Update types.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork webform_embed-3446647
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
hocuComment #5
hocuComment #6
hocu