WordPress.org

Make WordPress Core

Opened 11 months ago

Last modified 10 months ago

#45774 new defect (bug)

Twenty Nineteen: When no menu is set, PHP error displays and customizer won't load correctly

Reported by: programmin Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: reporter-feedback
Focuses: ui, administration Cc:
PR Number:

Description

When no menu is primary (In appearance-menus, "Primary" was not checked), the site customizer feature brings up a blank bar to the left, no customizer.

PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/html/wordpress/wp-includes/general-template.php on line 4277

Change History (3)

#1 @laurelfulford
11 months ago

  • Summary changed from Twenty Nineteen: to Twenty Nineteen: When no menu is set, PHP error displays and customizer won't load correctly

#2 @eddr
11 months ago

can't reproduce with the theme. Has one menu and "Primary" menu location, customizer works well
Please add more information - WP version, plugins in use.

Does it happen with plugins turned off?

#3 @laurelfulford
10 months ago

  • Keywords reporter-feedback added

Thanks for reporting this issue, @programmin, and for your testing, @eddr!

I'm also unable to recreate this issue. It's possible it was fixed in Twenty Nineteen when another issue was fixed. Or as @eddr suggested, we might need more information about your setup to reproduce.

@programmin can you please confirm if this error is still happening for you, and if so, please let us know what version of WordPress you're using, what version of Twenty Nineteen, and any plugins you may have installed?

Thank you!

Note: See TracTickets for help on using tickets.