[wp-trac] [WordPress Trac] #56631: 6.1 Beta 1: Pullquote to quote transform throwing an error

WordPress Trac noreply at wordpress.org
Thu Sep 22 21:38:49 UTC 2022


#56631: 6.1 Beta 1: Pullquote to quote transform throwing an error
--------------------------+-----------------------------
 Reporter:  ashleyleia    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Attempting to transform a Pullquote block to a quote block throws
 "TypeError: Found non-callable @@iterator" as soon as mouse hovers over
 "Quote" transform option.

 This is my first Trac ticket, so bear with me...

 Steps to reproduce:
 1. In the block editor, create a new Pullquote block.
 2. Click the Pullquote icon in the block toolbar.
 3. Hover over "Quote" in the list of transform options.

 The error shown on the screen is:
 "The editor has encountered an unexpected error."

 The error in the browser console is:
 react-dom.min.js?ver=17.0.1:9 TypeError: Found non-callable @@iterator
     at C (block-editor.min.js?ver=ddd74f3bec6fb13282d1:26:32204)
     at S (block-editor.min.js?ver=ddd74f3bec6fb13282d1:26:32264)
     at block-editor.min.js?ver=ddd74f3bec6fb13282d1:26:36805
     at block-editor.min.js?ver=ddd74f3bec6fb13282d1:26:37067
     at e.type (block-editor.min.js?ver=ddd74f3bec6fb13282d1:26:37503)
     at Object.blocks (block-
 editor.min.js?ver=ddd74f3bec6fb13282d1:26:37720)
     at eval (eval at <anonymous>
 (data.min.js?ver=fd71fceb1a902c894958:2:2415), <anonymous>:3:29)
     at Object.root (data.min.js?ver=fd71fceb1a902c894958:2:2503)
     at eval (eval at <anonymous>
 (data.min.js?ver=fd71fceb1a902c894958:2:2415), <anonymous>:3:67)
     at data.min.js?ver=fd71fceb1a902c894958:2:2503


 This is on a clean install of version 6.1 Beta 1 with no active plugins,
 using Twenty-Twenty-Three theme and reproducible with Twenty-Twenty-Two.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56631>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list