admin管理员组

文章数量:1323553

I have disabled all plugins and I'm still getting this error. It is preventing users from creating a post.

The error is:

The editor has encountered an unexpected error.

What is the fix for this?

I have disabled all plugins and I'm still getting this error. It is preventing users from creating a post.

The error is:

The editor has encountered an unexpected error.

What is the fix for this?

Share Improve this question edited Jan 3, 2019 at 14:34 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Jan 3, 2019 at 14:22 treadtread 1192 silver badges7 bronze badges 5
  • please check error in console and debug on in wp-config.php file – vikrant zilpe Commented Jan 3, 2019 at 14:25
  • TypeError: "e.visibility is undefined" - react-dom.min.js:104:245 – tread Commented Jan 3, 2019 at 16:40
  • 1 The best solution I have so far is to disable the abomination of a mess that the react JS based Gutenberg is with disable gutenberg – tread Commented Jan 3, 2019 at 17:14
  • Don't disable it. Here is the solution: wordpress.stackexchange/questions/325113/… – marvinpoo Commented Jan 9, 2019 at 11:43
  • Most of the time "Yoast SEO" is the main cause – sunil Commented Sep 15, 2020 at 13:48
Add a comment  | 

1 Answer 1

Reset to default 1

Could you please try to configure Nginx as below?

location / {
   try_files $uri $uri/ /index.php$is_args$args;
}

From https://github/WordPress/gutenberg/issues/12655

I encountered this error. After I correct my Nginx config, it works very well.

本文标签: How to fix quotThe editor has encountered an unexpected errorquot