I don't think that commit has been released yet, which would explain why you'd still have the error. You could have just cherry-picked that commit you linked, but what you did works as well. It might just end up conflicting with future upgrades.
Fixed as of https://github.com/NodeBB/NodeBB/commit/5ec289eee2c44f4dd49e7b2884d27dd1acb20d5c.
The problem was I was deleting tags that no longer had topics but was doing it in the wrong place. If a user couldn't see any topics the code was deleting the tag. I moved it up to actually check the tids and not the topics the user can see.
barisusakli committed to NodeBB/NodeBB
@baris said in Problem to reach replied/original post in paginated forum:
What version of NodeBB are you using? This seems to be fixed in 1.11.0 https://github.com/NodeBB/NodeBB/issues/6948
Thanks a lot. Yes, ours is older than 1.11 but we will be upgrading soon to the latest 1.12
Good to hear that will resolve the issue.