Make WordPress Core

Opened 16 months ago

Closed 4 months ago

#59910 closed defect (bug) (duplicate)

Attempt to read property "title" on null

Reported by: jrandyanderson's profile jrandyanderson Owned by:
Milestone: Priority: normal
Severity: minor Version: 6.3.2
Component: Customize Keywords:
Focuses: Cc:

Description

Hello! I am upgrading some sites to PHP 8.1 and I noticed this warning when using the Customizer screen:

[11-Nov-2023 06:17:08 UTC] PHP Warning: Attempt to read property "title" on null in /wordpress-versions/6.3.2/wp-includes/class-wp-customize-widgets.php on line 905

Change History (3)

#1 @adamsilverstein
16 months ago

Hey @jrandyanderson thanks for the bug report!

I wasn't able to reproduce using a vanilla install of trunk (latest core) using PHP 8.1.17.

Did you only see this on WordPress 6.3 or also 6.4?

Can you give the full trace to the warning, if there is a plugin or theme path, try disabling that plugin (or changing theme) in a staging instance of the site.

#2 @dlh
16 months ago

Possible duplicate of #58183. @jrandyanderson is your similar to the one reported in that ticket?

#3 @sabernhardt
4 months ago

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

I'll close this as a duplicate of #58183 because it is the same error message. Please continue the conversation there.

Note: See TracTickets for help on using tickets.