• Hey,

    Hey,

    I’m getting this error when I click on a page (trying to edit it) in Gutenberg (I’m on WordPress 5.8.2, Gutenberg 12.1.0). Thanks!

    
    
    TypeError: Cannot destructure property 'possibleBlockTransformations' of '(0 , m.useSelect)(...)' as it is undefined.
        at bp (https://.../wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6fc2163e8677ee351c15e4aa9e7f68ae:47:6645)
        at Le (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:100:3)
        at Pj (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:231:183)
        at di (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:168:305)
        at Nj (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:168:236)
        at sc (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:168:96)
        at gf (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:162:109)
        at https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:230
        at unstable_runWithPriority (https://.../wp-content/plugins/gutenberg/vendor/react.min.755b0ae9.js:24:26)
        at Za (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:8)
        at $g (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:176)
        at ja (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:111)
        at Pa (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:157:212)
        at Me (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:110:250)
        at e (https://.../wp-content/plugins/gutenberg/build/data/index.min.js?ver=6c7c00da1ee2e9c11b91b402e42eb79f:1:21669)
        at t (https://.../wp-content/plugins/gutenberg/build/data/index.min.js?ver=6c7c00da1ee2e9c11b91b402e42eb79f:1:21736)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Suraj Singh

    (@surajkumarsingh)

    Hey Team,

    I am also getting the same issue when trying to update the block attribute and custom attributes.

    Error return when using this filter – blocks.getSaveContent.extraProps and add some custom classes/styles attribute in extraProps.

    Any workaround or suggestion will be appreciated.

    TypeError: Cannot destructure property 'possibleBlockTransformations' of '(0 , m.useSelect)(...)' as it is undefined.
        at bp (https://easilyamused.local/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6fc2163e8677ee351c15e4aa9e7f68ae:47:6645)
        at renderWithHooks (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:15015:20)
        at mountIndeterminateComponent (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:17841:15)
        at beginWork (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:19079:18)
        at HTMLUnknownElement.callCallback (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:3942:16)
        at Object.invokeGuardedCallbackDev (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:3991:18)
        at invokeGuardedCallback (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:4053:33)
        at beginWork$1 (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:23994:9)
        at performUnitOfWork (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:22809:14)
        at workLoopSync (https://easilyamused.local/wp-content/plugins/gutenberg/vendor/react-dom.860550b4.js:22737:7)
    • This reply was modified 3 years, 3 months ago by Suraj Singh.
    • This reply was modified 3 years, 3 months ago by Suraj Singh.

    Hi Team, I have same error.

    I’m using Editor Blocks for Gutenberg Versión 1.2.1
    and Gutenberg Versión 12.1.0

    TypeError: Cannot destructure property 'possibleBlockTransformations' of '(0 , m.useSelect)(...)' as it is undefined.
        at bp (https://.../wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6fc2163e8677ee351c15e4aa9e7f68ae:47:6645)
        at Le (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:100:3)
        at Pj (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:231:183)
        at di (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:168:305)
        at Nj (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:168:236)
        at sc (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:168:96)
        at gf (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:162:109)
        at https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:230
        at unstable_runWithPriority (https://.../wp-content/plugins/gutenberg/vendor/react.min.755b0ae9.js:24:26)
        at Za (https://.../wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:8)
    • This reply was modified 3 years, 3 months ago by jotapardophoto. Reason: Adding new details

    Same here using Gutenberg version 12.2.0 and a child theme of YITH

    Thread Starter ddyok

    (@ddyok)

    Do you by any chance use the EditorsKit plugin? I’ve disabled this plugin and the problem went away.

    Same like @ddyok I’ve disabled EditorsKit plugin and the problem went away.

    Hi Everyone,

    Just wanted to update you that I’ve pushed an update to the EditorsKit plugin just now that fixes this bug.

    Cheers

    Hi @munirkamal I tried to update a post, and It shown the message “Este bloque contiene contenido inesperado o no valido” (This block contains unexpected or invalid content), after that I tried to update a page, but it got blocked 503 Service Unavailable.. I disabled again the EditorsKit Plugin and my site is working again. maybe only the error happens to me, but I wanted to mention it

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error when editing page: Cannot destructure ‘possibleBlockTransformations’’ is closed to new replies.