Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1347777

    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

    #1347793

    Hey Yaphoon,
    Please note the warning message on your dashboard, The minimum recommended version of PHP is 7.4.
    2022-04-09_005.jpg
    Please try updating your PHP version.

    Best regards,
    Mike

    #1347910

    Thanks Mike
    I will try

    #1347927

    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

    #1348600
    This reply has been marked as private.
    #1348618

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.