id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 48890,Twenty Twenty: Customizer Controls Uncaught Errors,fmixell,,"I noticed that the customizer.js file in the Twenty Twenty theme is loading in the customizer no matter if the theme is being edited or if a plugin is using the customizer. When using any plugin that takes advantage of the customizer you will see the attached type error. Offending Code: {{{ api.control( 'accent_hue_active' ) }}} Uncaught TypeError: Cannot read property 'setting' of undefined. That's because plugins are loading their settings. So far I've seen this cause issues with the jQuery UI Slider controls, they just won't load. Switching back to the TwentyNineteen theme or TwentySeventeen theme resolved the issue. Adding a try catch block around this twenty twenty setting specific code solves the problem for me. Try catch is fully supported now so I think this could be a great, minimal code, solution to this bug. ",defect (bug),closed,normal,,Bundled Theme,5.3,normal,worksforme,has-patch has-screenshots reporter-feedback close,,javascript