[wp-trac] [WordPress Trac] #58157: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in wp-includes/formatting.php

WordPress Trac noreply at wordpress.org
Thu Apr 20 05:43:07 UTC 2023


#58157: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated in wp-includes/formatting.php
-------------------------------------------------+---------------------
 Reporter:  salvoaranzulla                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php81 needs-patch reporter-feedback  |     Focuses:
-------------------------------------------------+---------------------

Comment (by salvoaranzulla):

 Hi,

 I have disabled my custom template and I have setup default template
 (twentytwentyone). I have also disabled all plugins.

 I confirm that if I open Media pages, I see that errors.


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

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


More information about the wp-trac mailing list