Versions 2.0.1 and 2.1.x not compatible with D8

Created on 25 September 2024, 4 months ago

Problem/Motivation

I happen to be updating what contribs I can for a site on Drupal 8.9 (due to client restrictions). The 2.0.1 version and 2.1.x versions of this module are marked as compatible with Drupal ^8.7.7 but throw this fatal error, on any URL path I think:

TypeError: Argument 1 passed to Drupal\httpswww\EventSubscriber\HttpsWwwRedirectSubscriber::redirect() must be an instance of Symfony\Component\HttpKernel\Event\RequestEvent, instance of Symfony\Component\HttpKernel\Event\GetResponseEvent given in Drupal\httpswww\EventSubscriber\HttpsWwwRedirectSubscriber->redirect() (line 54 of /app/web/modules/contrib/httpswww/src/EventSubscriber/HttpsWwwRedirectSubscriber.php)

Proposed resolution

A brief search indicates this is a Symfony API change so probably just drop Drupal core 8.x compatibility in future releases.

๐Ÿ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States tea.time

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024