Title: Failed to execute &#8216;insertBefore&#8217; on &#8216;Node&#8217; error persistent
Last modified: October 22, 2023

---

# Failed to execute ‘insertBefore’ on ‘Node’ error persistent

 *  [jj1992](https://wordpress.org/support/users/jj1992/)
 * (@jj1992)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/failed-to-execute-insertbefore-on-node-error-persistent/)
 *     ```wp-block-code
       I keep having the same error occur when I try to edit the content on a page. I am editing paragraph copy on the page and every time I copy and paste anything or press save, the page crashes and sends me back to the WP dashboard.
   
       I am using WordPress 6.3.2, the theme Go. I have disabled all third-party plugins and the error persists. I have no custom code.
   
       I have disabled all plugins and the error still happens. 
       I have switched themes and the error still happens.
   
       How do I stop this error from happening?
   
       This is the error I keep getting:
   
       Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
   
       at Qr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:74697)
   
       at Qr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:74770)
   
       at Qr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:74770)
   
       at Xr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:79821)
   
       at Yr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:76707)
   
       at Kr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:76584)
   
       at Yr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:78007)
   
       at Kr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:76584)
   
       at Yr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:78007)
   
       at Kr (https://progresoyucatantours.com.mx/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:76584)
       ```
   
    -  This topic was modified 2 years, 7 months ago by [jj1992](https://wordpress.org/support/users/jj1992/).

Viewing 1 replies (of 1 total)

 *  [Aleksandar](https://wordpress.org/support/users/gdalex/)
 * (@gdalex)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/failed-to-execute-insertbefore-on-node-error-persistent/#post-17166848)
 * Hi [@jj1992](https://wordpress.org/support/users/jj1992/),
 * Thanks for reaching out!
 * I just tried this in my test environment and couldn’t replicate any issues with
   copying, pasting, or editing the paragraphs. If you’ve already disabled all of
   the plugins and the issue persists, I reckon this might be a WordPress core issue,
   an issue with your hosting, or with the content you’re editing.
 * When pasting, make sure to “Paste Text Only” without any markup if copying from
   a different site, since scripts/HTML tags can be picked up in that case.
 * Also, please try reinstalling the WordPress core, since the error you’ve posted
   seems to implicate something wrong with it.
 * Let me know if this helped!

Viewing 1 replies (of 1 total)

The topic ‘Failed to execute ‘insertBefore’ on ‘Node’ error persistent’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/go/1.8.18/screenshot.png)
 * Go
 * [Support Threads](https://wordpress.org/support/theme/go/)
 * [Active Topics](https://wordpress.org/support/theme/go/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/go/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/go/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Aleksandar](https://wordpress.org/support/users/gdalex/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/failed-to-execute-insertbefore-on-node-error-persistent/#post-17166848)
 * Status: not resolved