#62394 closed defect (bug) (invalid)
wp-includes/general-template.php error
Reported by: | bernardco | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Hello, I get the error with WordPress 6.6.2
PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-includes/general-template.php on line 1425
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @bernardco,
Welcome to Trac! Thanks for reporting this.
Looking at the code, line 1425 does not have an occurrence of
explode()
, but 1440 does.It seems that there is an active plugin or your theme that is causing the value of
$title
to benull
instead of a string as required. I recommend turning off plugins one at a time if possible to determine which one is causing the issue and reporting it to their support staff.Since this is more of a general support request, please open a ticket in the WordPress.org Support Forums if you need more help. This Trac instance is for the development of the Core software and not general support.