#57754 closed defect (bug) (duplicate)
Deprecated Error Passing null to parameter in preg_replace() in Privacy Page on WP 6.1.1 and PHP 8.2.1
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.1.1 |
Component: | Privacy | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (5)
This ticket was mentioned in PR #4096 on WordPress/wordpress-develop by @hasanmisbah.
2 years ago
#1
- Keywords has-patch added
FIXED Deprecated Error Passing null to parameter in preg_replace() in Privacy Page on WP 6.1.1 and PHP 8.2.1
Trac ticket: https://core.trac.wordpress.org/ticket/57754
Note: See
TracTickets for help on using
tickets.
error_preg_replace