[wp-trac] [WordPress Trac] #57401: post-template.php fails to check if $elements['page'] is zero causing an array index error

WordPress Trac noreply at wordpress.org
Tue Nov 7 21:25:45 UTC 2023


#57401: post-template.php fails to check if $elements['page'] is zero causing an
array index error
--------------------------+------------------------------
 Reporter:  mjdewitt      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by rkyburz):

 Addendum: I upgraded to WP 6.4, which reverted post-template.php (line 330
 in particular) to its original form, but the error message so far did not
 show up again. I'm still on PHP 8.1.24 — will keep watching out.

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


More information about the wp-trac mailing list