[wp-trac] [WordPress Trac] #60046: Passing null to parameter #1 ($haystack) of type string is deprecated in\wp-includes\functions.php on line 7244

WordPress Trac noreply at wordpress.org
Mon Dec 11 23:15:24 UTC 2023


#60046: Passing null to parameter #1 ($haystack) of type string is deprecated in
\wp-includes\functions.php on line 7244
---------------------------+------------------------
 Reporter:  Sander Falise  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Media          |     Version:  6.4.2
 Severity:  minor          |  Resolution:  duplicate
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------

Comment (by sabernhardt):

 I would like to know //which// function is used incorrectly, especially if
 the mistake is within Core or if all similar reports consistently point to
 plugins using a wrong type in the same `add_submenu_page()` function.

 If you could determine which function or which plugin causes the error,
 please share the information on #57580. (I am not yet sure about reopening
 that ticket, but you can comment while it is still closed.)

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


More information about the wp-trac mailing list