D9 TypeError after upgrade to 1.2.0

Created on 24 October 2023, about 1 year ago
Updated 4 December 2023, 12 months ago

Problem/Motivation

After upgrading from 1.1.0 to 1.2.0, there is a fatal error:

"TypeError: Drupal\xss_prevention\EventSubscriber\XssPreventionEventSubscriber::xssChecker(): Argument #1 ($event) must be of type Symfony\Contracts\EventDispatcher\Event, Symfony\Component\HttpKernel\Event\RequestEvent given in Drupal\xss_prevention\EventSubscriber\XssPreventionEventSubscriber->xssChecker() (line 59 of modules/contrib/xss_prevention/src/EventSubscriber/XssPreventionEventSubscriber.php)."

It is fixed/silenced by downgrading back to 1.1.0.

πŸ› Bug report
Status

RTBC

Version

1.2

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada bgilhome Victoria

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

Comments & Activities

Production build 0.71.5 2024