Skip to content

Editor crashes when using Google Translate #101365 #69597

Closed

Description

@Robertght

Description

With Gutenberg on I get this error:

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at qr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:74962)
    at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76204)
    at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76666)
    at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
    at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76666)
    at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
    at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76469)
    at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
    at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76666)
    at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)

Without Gutenberg, I'm seeing this:

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at $r (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:75160)
    at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76412)
    at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76874)
    at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
    at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76874)
    at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
    at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76677)
    at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
    at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76874)
    at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)

Step-by-step reproduction instructions

  1. Change the language of your profile under your site dashboard
  2. Make sure you have an FSE theme active and Gutenberg can be on or off
  3. Go to Appearance > Editor
  4. Right click on the page and choose "Translate to English" or your language - it must be different than the one in your site dashboard
  5. Click on the editor and try to make any change. Usually, just pressing return(Enter) will break it.

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 6.7.2
  • Gutenberg 20.4.0

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    on Mar 17, 2025
  2. Mayank-Tripathi32 commented on Mar 17, 2025

    @Mayank-Tripathi32
    Member

    Hi @Robertght, Thank you for reporting the issue.

    I have attached a video for reproduction steps.

    https://q7utzrengv.ufs.sh/f/Wgl9eBAmTj29jWdKct6TePkj8pUgBMXEl6Ga5htrb2R14KHJ

    I also noticed that translation feature does not work in post editor.

  3. added
    General InterfaceParts of the UI which don't fall neatly under other labels.
    on Mar 18, 2025
  4. t-hamano commented on Mar 18, 2025

    @t-hamano
    Contributor

    I think I was able to identify the root cause. I hope #69605 fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

General InterfaceParts of the UI which don't fall neatly under other labels.[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions