[wp-trac] [WordPress Trac] #57287: Type error calling Styles > Customize > Blocks from FSE

WordPress Trac noreply at wordpress.org
Wed Dec 7 04:30:57 UTC 2022


#57287: Type error calling Styles > Customize > Blocks from FSE
--------------------------+------------------------------
 Reporter:  ritterml      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  6.1.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------
Description changed by sabernhardt:

Old description:

> From FSE, When I open Styles pane, Then click "Blocks" I receive an
> error:
>
> TypeError: Cannot use 'in' operator to search for 'color' in
>     at http://localhost:10043/wp-includes/js/dist/edit-
> site.min.js?ver=3ab3e2570a5c4c270c72:12:72801
>     at Array.forEach (<anonymous>)
>     at ll (http://localhost:10043/wp-includes/js/dist/edit-
> site.min.js?ver=3ab3e2570a5c4c270c72:12:72639)
>     at Tl (http://localhost:10043/wp-includes/js/dist/edit-
> site.min.js?ver=3ab3e2570a5c4c270c72:12:82514)
>     at Cl (http://localhost:10043/wp-includes/js/dist/edit-
> site.min.js?ver=3ab3e2570a5c4c270c72:12:82422)
>     at Xl (http://localhost:10043/wp-includes/js/dist/edit-
> site.min.js?ver=3ab3e2570a5c4c270c72:12:103806)
>     at ct (http://localhost:10043/wp-includes/js/dist/vendor/react-
> dom.min.js?ver=17.0.1:9:43430)
>     at os (http://localhost:10043/wp-includes/js/dist/vendor/react-
> dom.min.js?ver=17.0.1:9:111136)
>     at Ur (http://localhost:10043/wp-includes/js/dist/vendor/react-
> dom.min.js?ver=17.0.1:9:77643)
>     at Ir (http://localhost:10043/wp-includes/js/dist/vendor/react-
> dom.min.js?ver=17.0.1:9:77571)

New description:

 From FSE, When I open Styles pane, Then click "Blocks" I receive an error:
 {{{
 TypeError: Cannot use 'in' operator to search for 'color' in
     at http://localhost:10043/wp-includes/js/dist/edit-
 site.min.js?ver=3ab3e2570a5c4c270c72:12:72801
     at Array.forEach (<anonymous>)
     at ll (http://localhost:10043/wp-includes/js/dist/edit-
 site.min.js?ver=3ab3e2570a5c4c270c72:12:72639)
     at Tl (http://localhost:10043/wp-includes/js/dist/edit-
 site.min.js?ver=3ab3e2570a5c4c270c72:12:82514)
     at Cl (http://localhost:10043/wp-includes/js/dist/edit-
 site.min.js?ver=3ab3e2570a5c4c270c72:12:82422)
     at Xl (http://localhost:10043/wp-includes/js/dist/edit-
 site.min.js?ver=3ab3e2570a5c4c270c72:12:103806)
     at ct (http://localhost:10043/wp-includes/js/dist/vendor/react-
 dom.min.js?ver=17.0.1:9:43430)
     at os (http://localhost:10043/wp-includes/js/dist/vendor/react-
 dom.min.js?ver=17.0.1:9:111136)
     at Ur (http://localhost:10043/wp-includes/js/dist/vendor/react-
 dom.min.js?ver=17.0.1:9:77643)
     at Ir (http://localhost:10043/wp-includes/js/dist/vendor/react-
 dom.min.js?ver=17.0.1:9:77571)
 }}}

--

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


More information about the wp-trac mailing list