[wp-trac] [WordPress Trac] #59411: Update Editor related npm packages to their latest versions for 6.4

WordPress Trac noreply at wordpress.org
Fri Sep 29 19:09:19 UTC 2023


#59411: Update Editor related npm packages to their latest versions for 6.4
---------------------------------------+-------------------------
 Reporter:  mikachan                   |       Owner:  karmatosed
     Type:  task (blessed)             |      Status:  reopened
 Priority:  normal                     |   Milestone:  6.4
Component:  Editor                     |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  gutenberg-merge has-patch  |     Focuses:
---------------------------------------+-------------------------

Comment (by TobiasBg):

 [56710] leads to my plugin's block breaking, when inserting it into the
 block editor.
 I get
 {{{
 This block has encountered an error and cannot be previewed.
 }}}

 Chrome's error log console shows
 {{{
 Uncaught TypeError: message.replace is not a function
     at filterMessage (a11y.js?ver=b5ff61edc2245a1950cb:153:21)
     at speak (a11y.js?ver=b5ff61edc2245a1950cb:227:13)
     at components.js?ver=954ab867bc33b1510106:69680:49
     at commitHookEffectListMount (react-dom.js?ver=18.2.0:23160:28)
     at commitPassiveMountOnFiber (react-dom.js?ver=18.2.0:24936:15)
     at commitPassiveMountEffects_complete (react-
 dom.js?ver=18.2.0:24901:11)
     at commitPassiveMountEffects_begin (react-dom.js?ver=18.2.0:24888:9)
     at commitPassiveMountEffects (react-dom.js?ver=18.2.0:24876:5)
     at flushPassiveEffectsImpl (react-dom.js?ver=18.2.0:27049:5)
     at flushPassiveEffects (react-dom.js?ver=18.2.0:26994:16)
 filterMessage @ a11y.js?ver=b5ff61edc2245a1950cb:153
 speak @ a11y.js?ver=b5ff61edc2245a1950cb:227
 (anonymous) @ components.js?ver=954ab867bc33b1510106:69680
 commitHookEffectListMount @ react-dom.js?ver=18.2.0:23160
 commitPassiveMountOnFiber @ react-dom.js?ver=18.2.0:24936
 commitPassiveMountEffects_complete @ react-dom.js?ver=18.2.0:24901
 commitPassiveMountEffects_begin @ react-dom.js?ver=18.2.0:24888
 commitPassiveMountEffects @ react-dom.js?ver=18.2.0:24876
 flushPassiveEffectsImpl @ react-dom.js?ver=18.2.0:27049
 flushPassiveEffects @ react-dom.js?ver=18.2.0:26994
 performSyncWorkOnRoot @ react-dom.js?ver=18.2.0:26086
 flushSyncCallbacks @ react-dom.js?ver=18.2.0:12052
 commitRootImpl @ react-dom.js?ver=18.2.0:26969
 commitRoot @ react-dom.js?ver=18.2.0:26692
 finishConcurrentRender @ react-dom.js?ver=18.2.0:25991
 performConcurrentWorkOnRoot @ react-dom.js?ver=18.2.0:25819
 workLoop @ react.js?ver=18.2.0:2653
 flushWork @ react.js?ver=18.2.0:2626
 performWorkUntilDeadline @ react.js?ver=18.2.0:2920
 react-dom.js?ver=18.2.0:18697


 The above error occurred in the <Placeholder> component:

     at Placeholder (http://localhost:8001/wp-
 includes/js/dist/components.js?ver=954ab867bc33b1510106:69649:5)
     at div
     at edit (http://localhost:8001/wp-
 content/plugins/tablepress/blocks/table/build/index.js?ver=a76551f3faef1d6732c6:1:2168)
     at Edit (http://localhost:8001/wp-includes/js/dist/block-
 editor.js?ver=1f941e81f7f064707f6a:16442:5)
     at http://localhost:8001/wp-includes/js/dist/block-
 editor.js?ver=1f941e81f7f064707f6a:15565:11
 [...]
 }}}

 So, somehow the a11y package has a problem with the <Placeholder>
 component, it seems?

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


More information about the wp-trac mailing list