Hi, dayan89! You should do corrections in core code of bbpress – https://bbpress.trac.wordpress.org/changeset/5338. After that it needs to run “Recalculate the position of each reply” repair tool (Пересчитать положение каждого ответа – in Russian).
Hi @nesiditsa
Nice one ! I didn’t find it 🙂
@dayan89
The above mentioned fix has been added to bbPress 2.6. We are at the beta 2 (that you could download from https://bbpress.org/download/ ) so we are close to releasing the real 2.6 . If you have a test environment please switch to 2.6 beta already and see that it works !
@nesiditsa It doesn’t help.
Any idea why?
@casiepa Do not have test environment. Is this beta stable enough?
@dayan89, also try to run all forum’s repair tools and test posting after that.
It’s a 2nd beta so pretty stable (I’m using it on smaller forums already)… but it’s a beta of course.
@nesiditsa
It doesn’t help either
New posts go with broken links

Old ones are fine

Do you also have problem with wrong redirect to the first page after posting in this topic?
I think you should review some meta fields in WordPress DB if you can. You may find meta “menu_order” in last post of topic and “_bbp_last_active_id” meta field of first topic post. It needs to review both fields after posting in long topic with issue.
I’m not much technical kind of guy. Can you give me more detailed instructions please?
@dayan89, sorry, i forgot to tell you about a second patch – https://bbpress.trac.wordpress.org/changeset/5392. It’s repair calculating of position for new reply.
@casiepa, could you merge topic with this one? They are about same issue. Thank you!