ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given

Created on 22 November 2023, about 1 year ago

Problem/Motivation

The website encountered an unexpected error. Please try again later.TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /app/docroot/modules/contrib/webform_remote_handlers/src/Plugin/WebformHandler/RestWebformHandler.php on line 248 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).

Steps to reproduce

Proposed resolution

public function dispatch(object $event, ?string $eventName = NULL)

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India alokvermaei

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024