SpamCleaner does not rebuild reply_count of thread (physical delete)


I just have delete all post of a spammer, default option is physically delete

When action is completed, my threads show an empty page with no replies

To checking this:
  1. Use admin account, post 15 replies (now is 2 pages)
  2. User spammer account, post 10 replies (now is 3 page)
  3. Use admin account to delete all spam post by Spam Cleaner
Correctly, now threads have 2 page? Ok, but my thread still show 3 page with page 3 is empty


Jake Bunce

XenForo moderator
Staff member
I have been unable to reproduce this problem.

The incorrect page numbers can be caused by an incorrect reply count. Try running this:

Admin CP -> Tools -> Rebuild Caches -> Rebuild Thread Information

That will correct the reply count which should fix the page numbers.

Your reply count is obviously wrong for some reason. I don't know why. There was obviously a failure somewhere. This does not happen as a matter of course. Regardless of the cause, the rebuild utility will fix it.

Jake Bunce

XenForo moderator
Staff member
Like I said, I have been unable to reproduce this problem on my test forum. I tried several applications of the spam cleaner in situations where the total number of pages would change. Everything worked fine.

Try disabling any addons you have installed. Maybe one of them is causing this problem.