Could not check compatibility between Drupal\disable_route_normalizer\DisableRouteNormalizer\DisableRouteNormalizer and Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber

Created on 25 July 2023, over 1 year ago
Updated 26 April 2024, 8 months ago

There is currently an error when upgrading the module to the version 1.0-alpha6 in a drupal 10.1.1 installation:

PHP Fatal error:  Could not check compatibility between Drupal\disable_route_normalizer\DisableRouteNormalizer\DisableRouteNormalizer::onKernelRequestRedirect(Symfony\Component\HttpKernel\Event\GetResponseEvent $event) and Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber::onKernelRequestRedirect(Symfony\Component\HttpKernel\Event\RequestEvent $event), because class Symfony\Component\HttpKernel\Event\GetResponseEvent is not available in /var/www/html/docroot/modules/contrib/disable_route_normalizer/src/DisableRouteNormalizer/DisableRouteNormalizer.php on line 19

The parameter in the method DisableRouteNormalizer::onKernelRequestRedirect() should be replaced from Symfony\Component\HttpKernel\Event\GetResponseEvent with Symfony\Component\HttpKernel\Event\RequestEvent

🐛 Bug report
Status

RTBC

Component

Code

Created by

🇧🇪Belgium bernardopaulino Brussels

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

Comments & Activities

Production build 0.71.5 2024