最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - find out reason of "Updating failed" in Post-editor

programmeradmin0浏览0评论

In some cases, if there is issue in code or whatever, and try to update the post in Gutenberg post-editor, you will get "Updating failed" error message:

Is there any way to debug/find out the reason (i.e. in console) what error happened there or what was the response from the erroneous page?

In some cases, if there is issue in code or whatever, and try to update the post in Gutenberg post-editor, you will get "Updating failed" error message:

Is there any way to debug/find out the reason (i.e. in console) what error happened there or what was the response from the erroneous page?

Share Improve this question asked Apr 22, 2019 at 9:51 T.ToduaT.Todua 5,8809 gold badges52 silver badges81 bronze badges 1
  • I know this as a result of a too strict security mod on Apache. – norman.lol Commented Apr 22, 2019 at 18:19
Add a comment  | 

1 Answer 1

Reset to default 1

You could poke around in the Network tab. Filter the requests by XHR. You can view the headers and the Response from there.

I think I read somewhere that error reporting is something Gutenberg dev is planning on improving in the future.

发布评论

评论列表(0)

  1. 暂无评论