Fullmental
Active member
We are seeing a weird issue where, if the number of post replies is divisible by 20 exactly (we have XF set to 20 posts per page), a thread will display a new page for a presumed latest post that should be there, but is instead displayed on the previous page. As such, when someone clicks the page number for the last page, or hits the "go to last page" button, they'll get redirected to the first page instead. Example, this thread has 420 replies, which would mean 421 total posts and the need for a 21st page, but the 421st post is on page 20 instead, and page 21 is empty and redirects the user to the first page
How is this typically handled? Is there a cache we could rebuild that might help with this problem, or something else we can check?
How is this typically handled? Is there a cache we could rebuild that might help with this problem, or something else we can check?
Last edited: