[wp-trac] [WordPress Trac] #60708: REST page 2 item 0 === page 1 item 99 when requesting 100 posts from a post type

WordPress Trac noreply at wordpress.org
Tue Jun 25 12:32:08 UTC 2024


#60708: REST page 2 item 0 === page 1 item 99 when requesting 100 posts from a post
type
-------------------------------------+------------------------------
 Reporter:  vialars                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  REST API                 |     Version:  6.4.3
 Severity:  major                    |  Resolution:  maybelater
 Keywords:  close reporter-feedback  |     Focuses:  rest-api
-------------------------------------+------------------------------

Comment (by antonvlasenko):

 Thank you for the update, @vialars.

 I attempted to reproduce the issue again today, focusing on the "orderby"
 attribute, but was unable to do so.

 Given that the issue occurred previously but not now, it might be due to a
 third-party plugin on your WordPress site, which can sometimes cause
 intermittent issues. Another possibility is a database integrity
 violation, where JOIN operations might lead to data duplication. However,
 these are just assumptions. I don't know how your website is configured
 exactly.

 To effectively address this, clear and detailed steps to reproduce the
 issue would be needed.
 Without these steps, pinpointing the exact cause and providing a fix is
 challenging.

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


More information about the wp-trac mailing list