[wp-trac] [WordPress Trac] #57521: Appearance -» Customize not working after update 5.8

WordPress Trac noreply at wordpress.org
Wed Feb 22 15:02:33 UTC 2023


#57521: Appearance -» Customize not working after update 5.8
-------------------------------+------------------------------
 Reporter:  va2m               |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Customize          |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by va2m):

 Hi @dlh,

 I have installed two different WordPress versions in the same test
 environment, one with 5.8.6 and the other with the version 6.1.1 .
 The WordPress 5.8.6 now does not appear to have the problem anymore.
 But I think I managed to replicate the problem in the WordPress 6.1.1 .

 A add the {{{define( 'SCRIPT_DEBUG', true );}}}  to both {{{wp-
 config.php}}}.

 The theme used on both is {{{Twenty Twenty-One}}} version 1.7.

 Below is the console log errors that appears in the browser developer
 tools on WordPress 6.1:

 {{{
 [Log] JQMIGRATE: Migrate is installed with logging active, version 3.3.2
 (jquery-migrate.js, line 69)
 [Error] TypeError: reducedMotionMediaQuery.addEventListener is not a
 function. (In 'reducedMotionMediaQuery.addEventListener( 'change' ,
 function handleReducedMotionChange( event ) {
                 isReducedMotion = event.matches;
         })', 'reducedMotionMediaQuery.addEventListener' is undefined)
         (anonymous function) (customize-controls.js:11)
         Código global (customize-controls.js:9353)
 [Error] TypeError: undefined is not an object (evaluating
 'wp.customize.Control.extend')
         Código global (palette-colorpicker.js:11:83)
 [Error] TypeError: undefined is not an object (evaluating
 'api.Control.extend')
         (anonymous function) (customize-widgets.js:478)
         Código global (customize-widgets.js:2372)
 [Error] TypeError: undefined is not an object (evaluating
 'api.Panel.extend')
         (anonymous function) (customize-nav-menus.js:769)
         Código global (customize-nav-menus.js:3429)
 [Error] TypeError: The superclass is not an object.
         getSidebarControl (customize-widgets.js:2953)
         initialize (customize-widgets.js:3170)
         (anonymous function) (customize.php:2114)
 [Error] Failed to load resource: the server responded with a status of 404
 (Not Found) (index.module.js.map, line 0)
 }}}

 If you need anything else, please let me know.

 Thanks for the help!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57521#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list