“The editor has encountered an unexpected error” when trying to add photos

  • Unknown's avatar

    I encountered this error when I tried to add a photo to my post:

    I tried installing the classic editor plug in to fix it, and this seems to have removed the functionality of my post editor. I can add photos, but cannot edit or arrange them. When I try to remove the classic editor, I get this error:

    I convert back to blocks to remove the poorly formatted gallery of images, and I get the first error message again. I am trying to add photos from my media library because that is the only way wordpress will let me upload images. Can you please help?

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

  • Unknown's avatar

    I was able to find a work around:

    • convert to classic block
    • convert to block
    • insert gallery, upload images from desktop, get JSON error
    • replace image (since now I have the correct formatting, but a greyed out box) with an image from my media library

    This doesnt seem like how this should work, so I would still love to know what is going on with my site and why I only seem to be able to add images from my media library.

  • Unknown's avatar

    Hello!

    Thank you for reaching out to the free support forums for websites hosted on WordPress.com. While your site is not hosted with us, we’re here to guide you in the right direction for assistance.

    Since you’re using the open-source version of the WordPress platform, which operates differently from what we provide on WordPress.com, you can find help at the community forums here:

    https://wordpress.org/support/forum/how-to-and-troubleshooting/

    The community members in the open-source forum are well-versed in these matters and are in the best position to offer support.

    I hope this information helps guide you in the right direction. Feel free to ask if you have any further questions or need more assistance.

  • The topic ‘“The editor has encountered an unexpected error” when trying to add photos’ is closed to new replies.