The editor has encountered an unexpected error.

  • Unknown's avatar

    I have the latest everything, WP, PHP. Running Jetpack.

    The Block editor has stopped working with the following error when creating/editing pages and posts:
    The editor has encountered an unexpected error.

    Console log shows I need to be using wp.editor

    JQMIGRATE: Migrate is installed, version 3.4.1
    4data.min.js?ver=fe6c4835cd00e12493c3:2 Store “jetpack-modules” is already registered.
    i @ data.min.js?ver=fe6c4835cd00e12493c3:2Understand this error
    deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginMoreMenuItem is deprecated since version 6.6. Please use wp.editor.PluginMoreMenuItem instead.
    i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2Understand this warning
    deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginSidebarMoreMenuItem is deprecated since version 6.6. Please use wp.editor.PluginSidebarMoreMenuItem instead.
    i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2Understand this warning
    deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginSidebar is deprecated since version 6.6. Please use wp.editor.PluginSidebar instead.
    i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2Understand this warning
    deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginPrePublishPanel is deprecated since version 6.6. Please use wp.editor.PluginPrePublishPanel instead.
    i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2Understand this warning
    deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginPostPublishPanel is deprecated since version 6.6. Please use wp.editor.PluginPostPublishPanel instead.
    i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2Understand this warning
    deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginDocumentSettingPanel is deprecated since version 6.6. Please use wp.editor.PluginDocumentSettingPanel instead.
    i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2Understand this warning
    react-dom.min.js?ver=18.3.1.1:10 TypeError: Cannot read properties of null (reading ‘toString’)
    at pL (components.min.js?ver=865f2ec3b5f5195705e0:33:143126)
    at n (components.min.js?ver=865f2ec3b5f5195705e0:33:146597)
    at t.get (components.min.js?ver=865f2ec3b5f5195705e0:33:146758)
    at t.render (components.min.js?ver=865f2ec3b5f5195705e0:33:155778)
    at br (react-dom.min.js?ver=18.3.1.1:10:59368)
    at yr (react-dom.min.js?ver=18.3.1.1:10:59167)
    at Qs (react-dom.min.js?ver=18.3.1.1:10:121084)
    at wl (react-dom.min.js?ver=18.3.1.1:10:88341)
    at bl (react-dom.min.js?ver=18.3.1.1:10:88269)
    at yl (react-dom.min.js?ver=18.3.1.1:10:88132)

    I’ve tried everything, including reverting to the default theme and removing all plugins.

    As a workaround, I’ve installed the classic editor, but I would much prefer using blocks so that I can create a new landing page with widgets.

    How do I solve the issue?



    The blog I need help with is: (visible only to logged in users)

  • The topic ‘The editor has encountered an unexpected error.’ is closed to new replies.