Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#60735 new defect (bug)

Problem: Updating failed. The response is not a valid JSON response

Reported by: r3ndy's profile r3ndy Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.4.3
Component: General Keywords: reporter-feedback
Focuses: Cc:


I encountered an error message when publishing or updating. Due to a mistake in a wrong sentence, the error message appears. You will get the error message "Updating failed. The response is not a valid JSON response". Why did it happen?

  • WordPress 6.4.3 running theme GeneratePress.
  • .htaccess file according to wp settings
  • Permalinks postname settings
  • Already started with HTTPS
  • REST API no 404 error message

Change History (2)

#1 @r3ndy
3 months ago

To test my findings, you can test on new posts or old articles with the following sentence: "tempdb" without quotation marks and click Publish or Update and the error message "Updating failed. Response is not a valid JSON response." will appear.

#2 @johnbillion
3 months ago

  • Keywords reporter-feedback added

@r3ndy Are you able to open your browser developer console before updating the post and take a look at the response in the Network tab? It's likely there's an error being output in the response which will help pinpoint where the problem lies.

Note: See TracTickets for help on using tickets.