[wp-trac] [WordPress Trac] #48268: Updating failed. Error message: The response is not a valid JSON response.

WordPress Trac noreply at wordpress.org
Thu Jan 15 17:01:20 UTC 2026


#48268: Updating failed. Error message: The response is not a valid JSON response.
-------------------------------+------------------------------
 Reporter:  phpdocs            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-testing      |     Focuses:
-------------------------------+------------------------------

Comment (by sajib1223):

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 5.3
 - PHP: 7.4.33
 - Server: nginx/1.29.3
 - Database: mysqli (Server: 8.0.44 / Client: mysqlnd 8.2.29)
 - Browser: Firefox 146.0
 - OS: Windows 10/11
 - Theme: Twenty Nineteen 3.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Actual Results
 1.  ❌ Error condition does not occurs.

 === Steps to reproduce
 - Install WordPress 5.3.
 - Install activate Twenty Nineteen theme.
 - Add a new page template to the theme

 {{{
 <?php
 /**
  * Template Name: Custom Page Template
  *
  * A custom page template with a full-width layout.
  *
  * @package YourThemeName
  * @since 1.0.0
  */

 get_header();
 get_sidebar();
 get_footer();
 }}}

 - Go to any page edit screen (Sample Page).
 - Change and update the template.


 === Supplemental Artifacts

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48268#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list