Opened 7 years ago
Closed 7 years ago
#7934 closed defect (bug) (fixed)
Nouveau - JS breaks customizer functionality
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.2.0 | Priority: | normal |
Severity: | normal | Version: | 3.0.0 |
Component: | Templates | Keywords: | has-patch commit |
Cc: |
Description
Received a few reports of this issue on the forums:
https://buddypress.org/support/topic/cannot-read-property-selector-of-undefined/
WordPress customizer appears to break with Nouveau's customizer.js
.
customizer.min.js:1 Uncaught TypeError: Cannot read property 'selector' of undefined at HTMLDocument.<anonymous> (customizer.min.js:1) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-a11y,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-&load[]=ui-draggable,jquery-ui-droppable,backbone,wp-backbone,jquery-ui-resizable&ver=4.9.7:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-a11y,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-&load[]=ui-draggable,jquery-ui-droppable,backbone,wp-backbone,jquery-ui-resizable&ver=4.9.7:2) at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-a11y,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-&load[]=ui-draggable,jquery-ui-droppable,backbone,wp-backbone,jquery-ui-resizable&ver=4.9.7:2) at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-a11y,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-&load[]=ui-draggable,jquery-ui-droppable,backbone,wp-backbone,jquery-ui-resizable&ver=4.9.7:2)
Apparently occurs for all themes, but I haven't been able to duplicate.
Added as a ticket to get more eyes.
Attachments (1)
Change History (7)
#2
@
7 years ago
- Keywords has-patch reporter-feedback added
I've been able to replicate. This happens when the Group component is not active. 7914.patch should fix the issue. Ideally if one of the reporters could test the patch & confirm it's fixing the issue it would be great.
#3
@
7 years ago
I applied the patch and tested with all default themes (twenty-*) and two custom themes and it works fine.
Thanks for the report @r-a-y I’ll try to look at this asap,