• Hello,

    I have a problem with Site Editor, i randomly get the error: “The Editor Has Encountered an Unexpected Error”. The errors i am gettings are:

    react-dom.min.js?ver=18.2.0:10 DOMException: Blocked a frame with origin "https://www.redacted.com" from accessing a cross-origin frame.
    at Wr (https://www.redacted.com/wp-content/plugins/gutenverse/assets/js/block.js?ver=1.9.0:1:1792437)
    at N (https://www.redacted.com/wp-content/plugins/gutenverse/assets/js/block.js?ver=1.9.0:1:2867502)
    at Or (https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:73056)
    at Ir (https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:73242)
    at El (https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92487)
    at https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:91974
    at xl (https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92039)
    at fl (https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85808)
    at Nn (https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32474)
    at https://www.redacted.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:83226

    and many for similar to:

    block-editor.min.js?ver=8a070b748cf406a8d42e:26 sociatic-custom-styling-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. <link rel=?"stylesheet" id=?"sociatic-custom-styling-css" href=?"https:?/?/?www.redacted.com/?wp-content/?themes/?sociatic/?/?assets/?css/?sociatic-custom-styling.css?ver=1.0.3" media=?"all">?

    Gutenverse versions is: ?1.9.0?and WordPress version is: 6.4.3

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support putra1arya

    (@putra1arya)

    Hello @damianoporta,
    Can you provide us with your gutenverse system setting?
    And can you tell us when this error starts happening?
    Is there another plugin activated when this issue happened? If there is, try deactivating them one by one and see if one of them caused conflict.

    Thread Starter damianoporta

    (@damianoporta)

    Ok, I give you more context:

    INSTALLED PLUGINS:

    SYSTEM ENV:

    WORDPRESS ENV

    THEME INFORMATION

    Error I usually get is:

    … and sometimes i also see the error message: ( The Editor Has Encountered an Unexpected Error ) as reported above.

    The console error is:

    Thread Starter damianoporta

    (@damianoporta)

    I think i found the problem…. it is not compatible with WooPayments ?? I disabled all the plugin, everything worked well until the Woopayment activation. It is a big problem woopayment is widely used. I think because they create an iframe or something like that in the editor.

    Plugin Support putra1arya

    (@putra1arya)

    Hello @damianoporta,
    Have you tried the WooPayments with other block plugins as well and see if you encounter the same issue?

    Thread Starter damianoporta

    (@damianoporta)

    hi @putra1arya

    no, why? If I disable Gutenverse the theme does work. I am using your Sociatic theme.

    Take in mind that the checkout page has nothing, just the Woocommerce checkout blocks. I have no other template parts (no header, no footer). I just converted the checkout shortcode to blocks.

    Thread Starter damianoporta

    (@damianoporta)

    Hello, I had a chat with WooCommerce support and they confirmed it is a Gutenverse issue. If i disable Gutenverse plugin I do not see these error messages. What can I do? It is a blocking problem.

    Thread Starter damianoporta

    (@damianoporta)

    Hello @putra1arya

    do you need more details to understand the issue?

    Plugin Author Yoga

    (@yogajegstudio)

    Hi @damianoporta,

    Regarding the issue,
    1. Try install other block plugins, the reason is we want to make sure if the issue occur because of our plugin or block plugins in general.
    2. I saw you use PHP v8.2, if possible could you lower the version to < 8.1?
    Sometimes there is issue with higher php version.
    3. I saw you also use caching plugin, this maybe wouldn’t make any sense inside the editor, but lets just also check this just in case. If there is setting that caching JS or minifying JS, try disabling that. the minifying option usually merge plugins JS file and might cause problems.

    I hope we can find the root of the issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The Editor Has Encountered an Unexpected Error’ is closed to new replies.