[wp-trac] [WordPress Trac] #58728: Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
WordPress Trac
noreply at wordpress.org
Thu Jul 6 11:12:20 UTC 2023
#58728: Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type
string is deprecated
--------------------------+-----------------------------
Reporter: ispreview | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 6.2.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I recently did a test of PHP 8.2.7 on the latest WordPress 6.2.2 release
(this might also occur under PHP 8.1 as I didn't test that) and enabled
debugging, which resulted in quite a few of these errors through the admin
dashboard. I haven't been able to test every section as when I enable
debugging this error also kills (completely vanished) the WordPress Admin
menu on the left side of the screen, which I assume to be related.
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type
string is deprecated in /../wp-includes/functions.php on line 7053
I also created another ticket for a similar bug, albeit in a different
part of the same file:
https://core.trac.wordpress.org/ticket/58727#ticket
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58728>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list