# WP 게시물에서 댓글 수가 잘못 표시될 때 디버깅하는 방법

**URL:** <https://meta.discourse.org/t/how-to-debug-a-post-on-wp-having-the-incorrect-comment-number/134453>\
**Category:** WordPress\
**Created:** [11월 26, 2019, 4:35오후 UTC](https://meta.discourse.org/t/how-to-debug-a-post-on-wp-having-the-incorrect-comment-number/134453 "2019-11-26T16:35:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [11월 27, 2019, 5:58오후 UTC](https://meta.discourse.org/t/how-to-debug-a-post-on-wp-having-the-incorrect-comment-number/134453/5 "2019-11-27T17:58:42Z")

</div>

> [@jtbayly](#):
>
> 더 기묘한 일이 벌어졌습니다. 방금 새로 생성된 게시물에 댓글이 달리는 것을 목격했습니다.

[WP Discourse](https://github.com/discourse/wp-discourse)의 ‘Unlisted Topics로 게시’ 옵션을 활성화해 두셨나요? `discourse_comments_raw` 메타데이터에서 `posts_count`와 `filtered_posts_count`의 차이는 해당 토픽에 작은 액션 게시물이 두 개 있음을 시사합니다. `posts_count`와 `filtered_posts_count` 사이에 불일치가 있을 때 [WP Discourse](https://github.com/discourse/wp-discourse)의 웹훅 새로고침 기능에 문제가 발생합니다. 이 부분은 제가 처리할 예정이지만, 댓글을 받지 못하는 게시물과 관련된 문제와는 무관하다고 생각합니다.

댓글을 받지 못하는 게시물에 관한 문제와 관련하여, 해당 게시물의 Discourse 토픽 링크가 표시되지 않는다는 말씀이신가요, 아니면 링크가 ‘토론 시작하기’ 대신 '토론 참여하기’로 표시되는 것이 문제인가요?

---

_[View the full topic](https://meta.discourse.org/t/how-to-debug-a-post-on-wp-having-the-incorrect-comment-number/134453)._
