Hi there,
I find a big problem when I building my site
Now I cannot build any page
“Updating failed. The response is not a valid JSON response.”
“Publishing failed. The response is not a valid JSON response.”
http://www.wlhtex.xyz is fine
http://www.wlhtex.xyz/en is error
What is the problem and how solve
Here is my info:
Linode VPS
PHP7.2.6
Wordpress 5.9.2
I just start my site, only install the Yoast SEO plugin, no other
I set the permalinks in post name (as I heart the permalinks may cause this problem)
I build to site in one DATABASE
1 Chinese site http://www.wlhtex.xyz prefixes:zh_
2 english site http://www.wlhtex.xyz/en prefixes:en_
If you need login in my site pls check below
Thank you for your help..
Wang YF
Thanks Mike
I will try
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi,
Thanks for the feedback, on the /en/ site you are getting this error
GET http://www.wlhtex.xyz/en/wp-json/?_locale=user 404 (Not Found)
http://www.wlhtex.xyz/en/wp-includes/js/dist/api-fetch.min.js
while researching this api-fetch.min.js error I found this solution that pointed to updating your nginx config, I don’t know a lot about nginx config so give this a try.
Best regards,
Mike