#55171 closed defect (bug) (duplicate)
PHP Notice occur in customize screen in case of Block Theme
Reported by: | kurudrive | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
Description
Description
Essentially Block theme don't need customizer.
But in case of activating any plugin that use customizer that, become can open customizer.
When using a Block theme,
If open customizer that PHP notice is occur.
Step-by-step reproduction instructions
- Set wp-config.php WP_DEBUG true
- Activate Twenty Twenty-Two or other block theme.
- Install and activate plugin that using customizer.
ex.
<?php /** * Plugin Name: Merely Open Customizer * Description: This is the plugin that to be check customize screen that in case of any combined plugin of using customizer. */ add_action( 'customize_register', function( $wp_customize ) { // Can be open customizer. } );
- Open Appearance -> Customize.
Notice: Trying to get property 'title' of non-object in *****\wp-includes\class-wp-customize-nav-menus.php on line 523
Screenshots, screen recording, code snippet
Environment info
- ( WordPress 5.9 and WordPress 5.9 with Gutenberg 12.5.4 ) and Twenty Twenty-Two 1.0
- Chrome
- Mac OS 11.6
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #54905.