[wp-trac] [WordPress Trac] #59014: PHP Fatal error in post-template.php

WordPress Trac noreply at wordpress.org
Sat Sep 6 19:40:56 UTC 2025


#59014: PHP Fatal error in post-template.php
-------------------------------+-------------------------
 Reporter:  volqld             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  6.3
 Severity:  minor              |  Resolution:  worksforme
 Keywords:  needs-patch        |     Focuses:  template
-------------------------------+-------------------------
Changes (by SirLouen):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.1
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 139.0.0.0
 - OS: Windows 10/11
 - Theme: Minimal Theme 1.0.0
 - MU Plugins: None activated
 - Plugins:
   * BBB Testing Dolly
   * Test Reports 1.2.0

 === Testing Instructions
 1. Create a post type, lets call it like in OP, Governance
 2. Create a single template for such  CPT.
 3. Only add <?php the_content(); ?> to the template
 4. Check a post within such template (in this case example.com/governance
 /post-name)
 5. 👌 The post is shown correctly, no errors being triggered

 === Actual Results
 1. ❌ Error condition is not occurring

 === Additional Notes
 - There might be more elements conflicting. This error, by default, is not
 reproducible.

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


More information about the wp-trac mailing list