• Hi, like many I see on the internet right now, I’m excited to be trying the new block editor. But, it’s not working. I get a 503 message when I try to preview a new post. When I return to the draft, I see a pink message across the top: the response is not a valid JSON response.

    I’ve updated my theme. I updated the PHP through my host (eleven2). I turned my three plugins off and on. I do not use Real Simple SSL. I tried adding the classic editor plugin, turning it on, clearing the cache, and then switching to the block editor.

    This is a really discouraging way to encounter this exciting WordPress development. Please help! I’d like to participate.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, bostoncommoner.

    What kind of content is featured in the post that you’re mentioning? Is it like a shortcode, an image or something else?

    In any case, I would suggest following these instructions that a plugin author, bfintal, suggested for diagnosing JSON issues and insert the “response” code you see into a new reply to this topic:

    For Chrome:
    ?
    ?1. Right anywhere on the page, then select “Inspect” or “Inspect Element” to bring up the browser’s developer tools.
    ?2. Navigate to the “Network” tab of the developer tools
    ?3. Click on “XHR” in order to view only ajax calls
    ?
    ?You should end up with something that looks like this: https://cloudup.com/ctrVfdDqNh7
    ?
    ?Once you’re there, save your page, then check last of the newly added entries in the network tab. Check the “Headers” tab of the new entry and you should see “/wp-json/…” in the “Request URL” to indicate that it’s a rest API call. Check the “Response” tab, the contents of that should ideally start with “{…”. If not, paste here what you’re seeing.

    Thread Starter erstwhiledear

    (@bostoncommoner)

    Thank you so much for your help!
    Here is a screenshot of what I see:
    https://photos.app.goo.gl/UA6w8XfN2gaH4jqXA

    Under the response tab I see: 1. File not found.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The cursed ‘Not a valid JSON response’’ is closed to new replies.