• Resolved samwp1

    (@samwp1)


    I can not update any older posts after the new update

    It gets an error “The editor has encountered an unexpected error.”

    The error log is

    TypeError: (0 , b.useId) is not a function
    at tm (https://www..com/wp-content/plugins/gutenberg/build/components/index.min.js?ver=c2165e5c3ae766fe35c4:1:243490) at ft (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:43415)
    at as (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:111109) at Fr (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:77616)
    at Dr (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:77544) at Rr (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:77407)
    at Nr (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:74402) at https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:30158
    at unstable_runWithPriority (https://www..com/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:7431) at xn (https://www..com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=84f5e5eda5aed97de11543fc30414cf5:1:29935)

    It would be great if anyone could help me with this

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @samwp1 – thanks for the reports!

    To help replicate the issue, could each of you please do the following testing and report back on your results, in one comment each:

    • What version of WordPress are you using?
    • If you deactivate the standalone Gutenberg plugin active, do the errors go away?
    • Is the issue present with all your plugins temporarily deactivated? You can use the Health Check plugin’s troubleshooting mode for this, which will not change your live site – https://www.ads-software.com/plugins/health-check/ If the problem goes away, reactivate your plugins one by one (while still in troubleshooting mode) to find the culprit.
    • Is the issue present with a default theme like Twenty Twenty-Three? Again, you can use the Health Check plugin for this.

    I’m also experiencing this issue when trying to save.
    Blank Theme
    WP Version 6.1.1
    PHP Version 8.0.24

    The issue resolves when Gutenberg plugin is uninstalled. The error says “The editor has encountered an unexpected error.” The full error is:
    TypeError: (0 , b.useId) is not a function
    at tm (https://.com/wp-content/plugins/gutenberg/build/components/index.min.js?ver=c2165e5c3ae766fe35c4:1:243490)
    at ft (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:43415)
    at as (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:111109)
    at Fr (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:77616)
    at Dr (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:77544)
    at Rr (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:77407)
    at Nr (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:74402)
    at https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:30158
    at unstable_runWithPriority (https://.com/wp-content/plugins/gutenberg/build/vendors/react.min.js?ver=6.1.1:1:7431)
    at xn (https://.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=6.1.1:1:29935)

    Thread Starter samwp1

    (@samwp1)

    The problem was solved after the update.
    But ran into another.

    https://www.ads-software.com/support/topic/cant-add-links-to-posts-link-button-is-missing/

    Thanks for the update @samwp1 , @vinnysgreen can you please check the issue with the latest version of Gutenberg, you might need to update the plugin first.

    If the issue persists please advise if you managed to go over the troubleshooting steps @zoonini provided earlier to make sure that the plugin isn’t conflicting with another resource you have on the site.

    Moderator Kathryn Presner

    (@zoonini)

    @samwp1 @vinnysgreen Does Gutenberg 14.8.1 resolve the “unexpected error” issue?

    The missing-link issue is still being investigated by the developers. I’d recommend keeping Gutenberg inactive, it’s not needed to use the block editor and is intended as an experimental preview of new features.

    @zoonini my issue was resolved! Thanks!

    Moderator Kathryn Presner

    (@zoonini)

    @vinnysgreen Awesome, glad to hear it!

    Moderator Kathryn Presner

    (@zoonini)

    The missing link icon issue should be fixed with Gutenberg version 14.8.2. Since the original “unexpected error” issue was resolved with version 14.8.1 as well, I’ll go ahead and mark this as resolved.

    If anyone has further issues, please start a new thread and folks will be glad to have a look. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t update old posts – The editor has encountered an unexpected error.’ is closed to new replies.