Deprecated function: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\domain_path_redirect\EventSubscriber\DomainPathRedirectRequestSubscriber->onKernelRequestCheckDomainPathRedirect()

Created on 5 May 2022, over 2 years ago
Updated 25 May 2023, over 1 year ago

Problem/Motivation

Using this module with the latest release version of Drupal 9.3 and PHP 8.1.4, getting this deprecation notice on every page load:

Deprecated function: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\domain_path_redirect\EventSubscriber\DomainPathRedirectRequestSubscriber->onKernelRequestCheckDomainPathRedirect() (line 203 of modules/contrib/domain_path_redirect/src/EventSubscriber/DomainPathRedirectRequestSubscriber.php).

Proposed resolution

Same issue was reported in the main Redirect module queue here: https://www.drupal.org/project/redirect/issues/3252259 β†’

Since this event subscriber seems to have begun as a copy of Redirect's, the same fix should work here.

πŸ› Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom sergiur London, UK

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024