[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 17:04:02 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:  Formatting    |     Version:  6.2
 Severity:  normal        |  Resolution:
 Keywords:  php81         |     Focuses:
--------------------------+------------------------------

Comment (by sajjad67):

 With fresh installation of WordPress 6.2 with nothing enabled but only
 Twenty Twenty-Three theme doesn't give any error for PHP v8.1.19 or
 v8.1.13 or even v8.2.x

 I am not sure how you are getting this warning, can you please describe
 how we can recreate the issue? Maybe it's an issue on your end machine
 only.

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


More information about the wp-trac mailing list