[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
Wed Apr 5 13:20:29 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:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  6.2
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  php81         |     Focuses:
--------------------------+------------------------------
Changes (by ebai4):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 You're right tijmensmit. In my case, it looks like the user who originally
 created the page was deleted therefore some pages didn't have an author.
 Assigning an author to the page solves it. Thanks!

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


More information about the wp-trac mailing list