[wp-trac] [WordPress Trac] #57754: Deprecated Error Passing null to parameter in preg_replace() in Privacy Page on WP 6.1.1 and PHP 8.2.1
WordPress Trac
noreply at wordpress.org
Fri Feb 17 10:38:44 UTC 2023
#57754: Deprecated Error Passing null to parameter in preg_replace() in Privacy
Page on WP 6.1.1 and PHP 8.2.1
--------------------------+-----------------------------
Reporter: dhrupo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: 6.1.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Getting deprecated Error in preg_replace method while hitting Settings ->
Privacy page. Twenty twenty three theme is active and no plugin is
activated and PHP version is 8.2.1 and WordPress version is 6.1.1
I guess the preg_replace method's parameter is getting a null value here.
Need to pass a array|string here.
[[Image(https://drive.google.com/file/d/1Ixkk98t5B5KGbHeD7r5oK1ubMtbyP5MH/view)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57754>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list