Title: Error editing a post
Last modified: February 9, 2021

---

# Error editing a post

 *  [carlosmdh](https://wordpress.org/support/users/carlosmdh/)
 * (@carlosmdh)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-editing-a-post/)
 * Hi all.
 * Something strange happened to me while editing an entry. Suddenly I got the following
   error:
 * “The publisher has encountered an unexpected error”
    -  Attempt recovery
       Copy entry text Copy the error text
 * The text of the error is that I reproduce below.
 *     ```
       TypeError: Cannot read property 'ownerDocument' of undefined
           at https://url.es/wp-content/plugins/gutenberg/build/block-editor/index.js:81:17156
           at Bh (https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:126:456)
           at Dj (https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:162:476)
           at unstable_runWithPriority (https://url.es/wp-content/plugins/gutenberg/vendor/react.min.e713ea3b.js:25:260)
           at Da (https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:60:280)
           at xb (https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:162:231)
           at Te (https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:146:79)
           at https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:61:68
           at unstable_runWithPriority (https://url.es/wp-content/plugins/gutenberg/vendor/react.min.e713ea3b.js:25:260)
           at Da (https://url.es/wp-content/plugins/gutenberg/vendor/react-dom.min.de439aae.js:60:280)
       ```
   
 * It was enough to deactivate the Gutenberg plugin, version 9.9.1 for everything
   to work again.
 * The website has WordPress 5.6.1 installed and works with Genesis 3.3.3 and a 
   child called htheme version 1.1.1 from Asithemes
    -  This topic was modified 5 years, 1 month ago by [Yui](https://wordpress.org/support/users/fierevere/).
    -  This topic was modified 5 years, 1 month ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: please use CODE button for code formatting
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-editing-a-post%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Paal Joachim Romdahl](https://wordpress.org/support/users/paaljoachim/)
 * (@paaljoachim)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-editing-a-post/#post-14053182)
 * Hi [@carlosmdh](https://wordpress.org/support/users/carlosmdh/)
 * It would be helpful if you open an issue here: [https://github.com/WordPress/gutenberg/issues/new/choose](https://github.com/WordPress/gutenberg/issues/new/choose)
 * Thanks!
 *  [joy0114](https://wordpress.org/support/users/joy0114/)
 * (@joy0114)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-editing-a-post/#post-14143582)
 * Hello,
 * Same issue for me with Gutenberg 10.x , an Astra theme and WordPress 5.6.2
 * I’ve got the same files impacted but the error message does NOT show the first
   line:
    TypeError: Cannot read property ‘ownerDocument’ of undefined
 * Not able to create new pages, or editing pages created with gutenberg.
 * So, as you, I deactivated the plugin Gutenberg 10.x and I use the one which is
   built in wordpress. Doing this, it works.
 *  Plugin Support [Paal Joachim Romdahl](https://wordpress.org/support/users/paaljoachim/)
 * (@paaljoachim)
 * [5 years ago](https://wordpress.org/support/topic/error-editing-a-post/#post-14174127)
 * Hi [@joy0114](https://wordpress.org/support/users/joy0114/)
 * Update to WordPress 5.7 and see if that helps. (Create a backup first.)
    You 
   could also create a support post here: [https://wordpress.org/support/theme/astra/](https://wordpress.org/support/theme/astra/)
 * You can also create a bug issue on Github. Where you go through the steps it 
   mentions, so that Gutenberg developers can get a good report on what is going
   on.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error editing a post’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Paal Joachim Romdahl](https://wordpress.org/support/users/paaljoachim/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/error-editing-a-post/#post-14174127)
 * Status: not resolved