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

Created on 22 November 2023, 7 months ago
Updated 17 May 2024, about 1 month 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

Postponed: needs info

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.69.0 2024