How to test/debug comments_popup_link()?

After deactivating Mihdan: Ajax Edit Comments plug-in, comments_popup_link() and get_comments_number() don’t work properly on my WordPress site but not sure how to debug them.

I get below instead of the actual number of comments on the post.

comments_popup_link(); // No comment
echo get_comments_number(); // 0

Any idea how to debug this issue?

Read more here:: How to test/debug comments_popup_link()?

Leave a Reply

Your email address will not be published. Required fields are marked *