Deprecated function: preg_quote(): Passing null to parameter #1 ($str) of type string is deprecated

Created on 7 November 2023, over 1 year ago

Deprecated function: preg_quote(): Passing null to parameter #1 ($str) of type string is deprecated in Drupal\Core\Path\PathMatcher->matchPath() (line 82 of core/lib/Drupal/Core/Path/PathMatcher.php)
Drupal\Core\Path\PathMatcher->matchPath('/home', NULL) (Line: 125)
appbanners_include_tags() (Line: 27)
appbanners_page_attachments(Array) (Line: 311)

Steps to reproduce

on php 8.2

Proposed resolution

cast to string

$pages = (string) $config->get('pages');
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France ara martirosyan

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

Comments & Activities

Production build 0.71.5 2024