• I tried googling this but nothing came up.

    I’ve just experienced a temporary error. I tried to edit a page which I created and worked on yesterday, using block editor, but this morning, I couldn’t get to the edit screen and was told there was an error. I hadn’t made any changes to the site at all between times.

    The error looks like this: (mydomain to replace my actual domain)

    
    TypeError: Cannot read property 'MediaUpload' of undefined
    at https://mydomain.co.uk/wp-includes/js/dist/edit-post.min.js?ver=f03e57452d64a3c73916cb7f8470bf5c:2:17658
        at https://mydomain.co.uk/wp-includes/js/dist/hooks.min.js?ver=54e7683a4c0aafac0448bb95dc8d53ba:2:5031
        at o (https://mydomain.co.uk/wp-includes/js/dist/components.min.js?ver=df4b16e21104c0e1043e9c0a0eeedd94:7:537753)
        at new WithFilters(Component) (https://essexandsuffolksurnames.co.uk/wp-includes/js/dist/components.min.js?ver=df4b16e21104c0e1043e9c0a0eeedd94:7:537881)
        at Yg (https://mydomain.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:68:243)
        at rh (https://mydomain.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:98:274)
        at zj (https://mydomain.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:228:490)
        at Th (https://mydomain.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
        at tj (https://mydomain.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
        at Te (https://mydomain.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
    

    In the few minutes it too me to reset my password so that I could come on here and ask for some advice, it fixed itself!

    So I don’t know if this is a temporary issue caused by a server thingy on my host’s end? I also put my site through Cloudflare for https, so it could be something to do with that as well. I did have issues with uploading images a few months ago, but that issue has gone now.

    anyway, I thought I’d post this in case someone else encounters it. I googled it but couldn’t see anyone posting about this before.

    • This topic was modified 3 years, 10 months ago by Yui.
    • This topic was modified 3 years, 10 months ago by Yui. Reason: please use CODE button for code formatting
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty-One 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.

    Same issue
    I disabled all plugins and changed theme to default and same issue appear when try to add a new page

    The editor has encountered an unexpected error.

    TypeError: Cannot read property 'MediaUpload' of undefined
        at https://www.metroplexhomebuyers.com/wp-includes/js/dist/edit-post.min.js?ver=f74dc8b595fc8850a69a044ff78d1e86:7:27104
        at https://www.metroplexhomebuyers.com/wp-includes/js/dist/hooks.min.js?ver=50e23bed88bcb9e6e14023e9961698c1:2:5378
        at o (https://www.metroplexhomebuyers.com/wp-includes/js/dist/components.min.js?ver=863b0e64189bf5cd6b5aced6797bc2d6:7:540744)
        at new WithFilters(Component) (https://www.metroplexhomebuyers.com/wp-includes/js/dist/components.min.js?ver=863b0e64189bf5cd6b5aced6797bc2d6:7:540872)
        at Yg (https://www.metroplexhomebuyers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:68:243)
        at rh (https://www.metroplexhomebuyers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:98:274)
        at zj (https://www.metroplexhomebuyers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:228:490)
        at Th (https://www.metroplexhomebuyers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
        at tj (https://www.metroplexhomebuyers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
        at Te (https://www.metroplexhomebuyers.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Temporary error: Cannot read property ‘MediaUpload’ of undefined’ is closed to new replies.