Deprecated function: preg_split(): Passing null to parameter #2 (mb_strtolower($path)) of type string is deprecated in Drupal\Core\Routing RouteProvider->getRoutesByPath() (line 352 of core/lib/Drupal/Core/Routing/RouteProvider.php)

Created on 27 June 2023, over 1 year ago
Updated 24 August 2023, about 1 year ago

Problem/Motivation

Deprecation warning being shown on line 352, method getRoutesByPath().
File: core/lib/Drupal/Core/Routing/RouteProvider.php

Proposed resolution

Adding compatibility with PHP 8.1

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Routing 

Last updated 2 days ago

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024