🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

WordPress 5.3_Publish failed. Error message: This response is not a valid JSON response.

Today, a website owner friend in the group reported that after upgrading to WordPress 5.3, when publishing a post, they were prompted:Publishing failed. Error message: This response is not a valid JSON response. 发布失败。错误信息:此响应不是合法的JSON响应。

Common situations of WordPress post publishing failure

The occurrence of this problemis usually due to two reasons1. Compatibility issues between a plugin and the editor 2. Issues with the WP REST API 3. Issues with the system imageBelow, we analyze the solutions for these two types of problems.

Compatibility issues between plugins and the editor

This issue usually occurs with the Gutenberg editor. It might be that a plugin you installed has compatibility issues with the Gutenberg editor. Simply disabling the Gutenberg editor and testing again should work. Disabling method:How to Disable the New WordPress Gutenberg EditorAdditionally, some netizens have reported that switching to the Firefox browser allows normal publishing. You can also try this.

Issues with the WP REST API

If you use the browser's F12 feature to inspect resources when publishing a post, you will find that the WP REST API reports an error. At this point, you can try disabling the WP REST API to test if it works normally. To disable the WP REST API, you can install the following plugin.Disable WP REST API

Reasons related to the system image

The netizen who reported this problem to Naiba finally found through testing that it was a bug in the system image. Reinstalling the website environment with a different system image and then installing the website resolved it. It should be caused by a component in the system image being incompatible with the new version of WordPress. For technical novices, figuring out the exact problem is quite troublesome, so directly changing the image is a faster solution.系统镜像的bug

Indirectly solve the problem by inserting through the Media Library

wordpress媒体库插入图片Some netizens have reported that if your WordPress file upload promptsthis response is not a valid JSON response, then when uploading images, you can click on the Media Library, and then from theMedia Libraryinterface, click theupload buttonto upload. Do not directly click the upload button in the post interface toupload image files. This canindirectly solvethis error.

The above method didn't work?

If neither of the two common situations above matches what you encountered, you can also use the following methods to diagnose and detect the problem.
  1. Disable all plugins and switch themes to try
  2. Reinstall WordPress to try
If you have already tried disabling plugins, switching themes, and reinstalling WordPress, and still cannot solve the problem, you can only refer to the ultimate solution below.If server folder permissions are all normal but you still cannot publish posts, then you can only try reinstalling the website environment (to be safe, you can first install a WordPress on another server to test if it works).

Are you experiencing a WordPress update failure?

Some friends may also encounter WordPress update failure prompts.this response is not a valid JSON responseIn this case, manually updating solves the problem. There are two related articles you can check out.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: