Nirjonadda
Well-known member
Batch update threads or manually Deleting thread are not delete post id from database. Deleted thread post have a post with ID in the database. xf_post table has a record with post_id=X, If we check any none-existing post, like /posts/7565654/ we will see the message is "The requested post could not be found." but for the page /posts/7/ the message is "You do not have permission to view this page or perform this action.". Deleted some threads, that removed the thread records but did not remove the posts for the same thread.