[wp-trac] [WordPress Trac] #42761: Undefined offset: -1 in wp-includes/post-template.php

WordPress Trac noreply at wordpress.org
Fri Dec 1 09:34:02 UTC 2017


#42761: Undefined offset: -1 in wp-includes/post-template.php
-------------------------------+------------------------------
 Reporter:  twisted1919        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.9.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  template
-------------------------------+------------------------------

Comment (by twisted1919):

 Hello,

 I am not exactly sure how to have you reproduce this, but it started when
 we upgraded woocommerce to latest version and then we also did this for
 wordpress, so i am not sure, maybe other plugins somehow interacts with
 that global variable, but eitherway, maybe wordpress should do a more in-
 depth check at that particular point to avoid this issue.

 If you need anything else from me, list of plugins, or whatever info, let
 me know.

 Thanks.

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


More information about the wp-trac mailing list