XenForo Pagination issues - one too many pages in thread if posts divisible by the number per page?

F

Fullmental

Guest
We are seeing a weird issue where, if the number of posts 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 doesn't exist. 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 exactly fill 20 pages, but as you can see there is a 21st page:

1688011718633.png

How is...

Read more

Continue reading...