2014-06-11, 07:40 AM
My users reported the following problem. In some forum topics when they click on the last page in the pager it shows an error: "The topic doesn't exists".
I figured out that this is happening because the pager shows one page more than it should.
For example here: [topic image]
This topic has 13 page but the pager shows a 14th page as well and when they click on it the error comes: [error image]
What is even stranger that it doesn't happen for all users. So for example I don't see page 14 listed in the pager, but when I log out, I see that, too.
The same happens with the default MyBB theme.
I figured out that this is happening because the pager shows one page more than it should.
For example here: [topic image]
This topic has 13 page but the pager shows a 14th page as well and when they click on it the error comes: [error image]
What is even stranger that it doesn't happen for all users. So for example I don't see page 14 listed in the pager, but when I log out, I see that, too.
The same happens with the default MyBB theme.