PHP Deprecated: preg_quote(): Passing null to parameter of type string is deprecated

Created on 18 March 2025, 26 days ago

Problem/Motivation

1) Drupal\Tests\page_manager\Kernel\PageManagerRoutingTest::testRouteFilter with data set "failed_selection" ('/entity_test/manage/1/edit', 'entity.entity_test.edit_form')
PHPUnit\Framework\Exception: PHP Deprecated:  preg_quote(): Passing null to parameter #1 ($str) of type string is deprecated in /var/www/html/web/core/lib/Drupal/Core/Path/PathMatcher.php on line 80
Deprecated: preg_quote(): Passing null to parameter #1 ($str) of type string is deprecated in /var/www/html/web/core/lib/Drupal/Core/Path/PathMatcher.php on line 80

Steps to reproduce

Proposed resolution

The null value is the frontpage setting. I propose to provide a value for the frontpage.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

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