Support » Fixing WordPress » Upgrading to wp 5.4 The editor has encountered an unexpected error.

  • Resolved danrancan

    (@danrancan)


    I just updated wordpress to version 5.4. Before the update, everything was working fine. All pages and posts were viewable and editable. Now, after the update, when attempting to edit any page i get the following error:

    The editor has encountered an unexpected error. Attempt Recovery. Copy Post Text. Copy Error

    The following is the output when clicking the “copy Error” button:

    TypeError: Cannot read property 'DotTip' of undefined
        at https://www.oddcake.net/wp-includes/js/dist/edit-post.min.js:6:28507
        at je (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:78:476)
        at ph (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:215:173)
        at lh (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:126:409)
        at O (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:121:71)
        at ze (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:118:14)
        at https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:53:49
        at unstable_runWithPriority (https://www.oddcake.net/wp-includes/js/dist/vendor/react.min.js:26:340)
        at Ma (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:52:280)
        at mg (https://www.oddcake.net/wp-includes/js/dist/vendor/react-dom.min.js:52:496)

    I have full access to my server as this is a self hosted site. Could anyone please help explain what this means, how to debug it, and how to get my wordpress pages up and running and accessible again with the new version of wordpress (v5.4)? Any and all help is appreciated! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Hey James, thank you for the response. So I built a custom plugin using this tutorial from e-tinkers.com. You are correct in that disabling this custom built plugin indeed got my site back up and running again. That being said, I would like to get this custom plugin working again as it includes many optimizations. Do you have any recommendations for debugging this plugin?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    I’d recommend waiting to see what the developer says.

    Meanwhile, have you considered just using something already done (and supported) like https://wordpress.org/plugins/wordpress-seo/ instead?

    Ok I will wait things out then. In the meantime I will try out the listed plugin. Thank you so much James!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.