wpDiscuz - WordPress Comment Plugin
Comments not displa...
Clear all

Issue [Solved] Comments not displaying for some user roles

3 Posts
2 Users
Posts: 47
Topic starter
Trusted Member
Joined: 2 years ago

When logged in as an admin, the following post says there are 39 comments but only shows 1:


When not logged in, it says there are 14 comments but there are 38 showing, none of which are the 1 that shows when logged in as an admin.

Can you please assist?  Something is not working here and I'm not sure how to fix it.  There have been no changes to the website in the past few weeks, so not sure what would prompt this.

more than 14 for guests
only 1 comment for admin


2 Replies
Posts: 6742
Illustrious Member
Joined: 6 years ago

Are the admin login details still available? Can we log in and check the issue?

1 Reply
Joined: 2 years ago

Trusted Member
Posts: 47

@asti Thank you for following up on the issue.  I forgot to update the thread, but we were able to figure out what was causing the issue.  The following code that was in the body of one of the comments was causing the rest of the page not to load:

<a href="https://youtu.be/CDBJdQnjE2o" target="_blank" rel="noopener nofollow ugc"> https://youtu.be/CDBJdQnjE2o</a> 

In order to solve the problem, I took the following steps:

  1. Edited comment in native WordPress post editor and removed the problem code.
  2. Edited comment on front-end and added just the URL to the YouTube video.

After completing step 1, the page loaded fully again.  After completing step 2, the video also loaded and the page didn't have any problems.

Hope this helps you.