[wp-trac] [WordPress Trac] #58066: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

WordPress Trac noreply at wordpress.org
Mon Apr 3 13:41:56 UTC 2023


#58066: PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated
--------------------------+-----------------------------
 Reporter:  ebai4         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WP version : 6.2
 PHP: 8.1.9

 After updating to PHP 8.1.9 I get this error, even with no active plugins
 and with the Twenty Twenty-Three theme on.

 PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of
 type array|string is deprecated in xxxxxxxx\wp-includes\formatting.php on
 line 4280

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58066>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list