[wp-trac] [WordPress Trac] #57580: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in functions.php

WordPress Trac noreply at wordpress.org
Mon May 1 20:20:50 UTC 2023


#57580: strpos(): Passing null to parameter #1 ($haystack) of type string is
deprecated  in functions.php
--------------------------+---------------------
 Reporter:  ipajen        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.3
Component:  General       |     Version:  6.2
 Severity:  normal        |  Resolution:
 Keywords:  PHP81 close   |     Focuses:
--------------------------+---------------------

Comment (by zoonini):

 Just noting that a user reported this error coming up in Twenty Twenty-
 One, under specific circumstances, after updating to PHP 8.2:

 https://wordpress.org/support/topic/deprecated-notice-when-outputting-
 footer-thru-admin-post-php/

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


More information about the wp-trac mailing list