Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in noindex_patterns_match() (line 55 of modules/contrib/noindex/noindex.module).

Created on 15 December 2023, 10 months ago

Problem/Motivation

Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in noindex_patterns_match() (line 55 of modules/contrib/noindex/noindex.module).

Steps to reproduce

Visit the module's settings page and you will see the error.

Proposed resolution

Cast the parameter to a string.

Remaining tasks

Create the patch.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇦Canada adriancid Montreal, Canada

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