Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#62394 closed defect (bug) (invalid)

wp-includes/general-template.php error

Reported by: bernardco's profile 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)

#1 @desrosj
4 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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 be null 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.

#2 @bernardco
4 weeks ago

Thanks a lot, it was plugin problem as you mentioned.

Note: See TracTickets for help on using tickets.