Solution to wordpress not responding: 1. Directly add the code as "remove_action('wp_enqueue_scripts'...);" in the "fuctions.php" of the template file; 2. Disable WPRESTAPI; 3. Just change the image; 4. Modify the pseudo-static rules.
#The operating environment of this tutorial: Windows 10 system, WordPress version 5.5.1, Dell G3 computer.
What should I do if wordpress doesn’t respond?
Wordpress website publishing failed: This response is not a legal JSON response
Two days ago, I used WordPress to build this blog (https://wpthemes.pythonthree.com), and the server is Alibaba Cloud Hong Kong server uses the Pagoda control panel. However, when entering the WordPress backend to publish an article, the following error appears:
WordPress publishing failed. Error message: This response is not a valid JSON response.

The WordPress version is WordPress 5.5.1, because it has just been installed and there is no WordPress plug-in installed. So I searched for some information on the Internet to see what the situation is;
The first situation: Wordpress editor plug-in problem
Wordpress editor plug-in problem, there are articles online It is said to be a problem with the "new version of Gutenberg Editor". If this is really the problem, the solution is as follows:
Add the code directly to the more than 600 lines of functions.php in the template file
//Disable Gutenberg editing Add_filter('use_block_editor_for_post','__return_false'); remove_action('wp_enqueue_scripts','wp_common_block_scripts_and_styles');
The wordpress website has just been built, and no plug-ins have been downloaded or installed at all (exclusion)
The second situation: Problems with WordpressWPRestAPI
If you use the F12 function of the browser to review resources when publishing an article, you will find that WPRESTAPI will report an error. At this time, you can try to disable WPRESTAPI to test whether it is working properly. .
If you want to disable WPRESTAPI, you can install the following plug-in to achieve this.
WPRESTAPI plug-in address: https://cn.wordpress.org/plugins/disable-wp-rest-api/
It just so happens that this server also has another WordPress website, and even the program is copied and pasted from the same server, so this situation does not exist (excluded)
The third situation:System image problem
It may be caused by the incompatibility of a certain component in the system image with the new version of WordPress. If this is the case, you need to directly change the image to solve it faster.
However, if there are two wp websites on the same server, one is normal, but the newly built one is not normal and should not be. (Exclusion)
Fourth case:Pseudo-static problem

To modify the pseudo-static rules of the server's Pagoda panel, open the corresponding WordPress website in the Pagoda control panel, select Settings, then select Pseudo-static, select the WordPress program, and click Save. (Solving the problem)
Now, the WordPress website can run normally again

Recommended study: "WordPress Tutorial》
The above is the detailed content of What to do if wordpress doesn't respond. For more information, please follow other related articles on the PHP Chinese website!

WordPresspluginssignificantlyenhanceitsCMScapabilitiesbyofferingcustomizationandfunctionality.1)Over50,000pluginsallowuserstotailortheirsiteforSEO,e-commerce,andsecurity.2)Pluginscanextendcorefeatures,likeaddingcustomposttypes.3)However,theycancausec

Yes, WordPress is very suitable for e-commerce. 1) With the WooCommerce plugin, WordPress can quickly become a fully functional online store. 2) Pay attention to performance optimization and security, and regular updates and use of caches and security plug-ins are the key. 3) WordPress provides a wealth of customization options to improve user experience and significantly optimize SEO.

Do you want to connect your website to Yandex Webmaster Tools? Webmaster tools such as Google Search Console, Bing and Yandex can help you optimize your website, monitor traffic, manage robots.txt, check for website errors, and more. In this article, we will share how to add your WordPress website to the Yandex Webmaster Tool to monitor your search engine traffic. What is Yandex? Yandex is a popular search engine based in Russia, similar to Google and Bing. You can excel in Yandex

Do you need to fix HTTP image upload errors in WordPress? This error can be particularly frustrating when you create content in WordPress. This usually happens when you upload images or other files to your CMS using the built-in WordPress media library. In this article, we will show you how to easily fix HTTP image upload errors in WordPress. What is the reason for HTTP errors during WordPress media uploading? When you try to upload files to Wo using WordPress media uploader

Recently, one of our readers reported that the Add Media button on their WordPress site suddenly stopped working. This classic editor problem does not show any errors or warnings, which makes the user unaware why their "Add Media" button does not work. In this article, we will show you how to easily fix the Add Media button in WordPress that doesn't work. What causes WordPress "Add Media" button to stop working? If you are still using the old classic WordPress editor, the Add Media button allows you to insert images, videos, and more into your blog post.

Do you want to know how to use cookies on your WordPress website? Cookies are useful tools for storing temporary information in users’ browsers. You can use this information to enhance the user experience through personalization and behavioral targeting. In this ultimate guide, we will show you how to set, get, and delete WordPresscookies like a professional. Note: This is an advanced tutorial. It requires you to be proficient in HTML, CSS, WordPress websites and PHP. What are cookies? Cookies are created and stored when users visit websites.

Do you see the "429 too many requests" error on your WordPress website? This error message means that the user is sending too many HTTP requests to the server of your website. This error can be very frustrating because it is difficult to find out what causes the error. In this article, we will show you how to easily fix the "WordPress429TooManyRequests" error. What causes too many requests for WordPress429? The most common cause of the "429TooManyRequests" error is that the user, bot, or script attempts to go to the website

WordPresscanhandlelargewebsiteswithcarefulplanningandoptimization.1)Usecachingtoreduceserverload.2)Optimizeyourdatabaseregularly.3)ImplementaCDNtodistributecontent.4)Vetpluginsandthemestoavoidconflicts.5)ConsidermanagedWordPresshostingforenhancedperf


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version
Useful JavaScript development tools
