October 16, 2013 at 11:37 am #176361
I made another topic about this subject but it was not resolved and I found out it’s closed now so I start this new one.
I have a big problem because my post show comments number when there are none. Please look a t the picture in the link above:
You told me it was due to wp-rocket plugin but after I investigated and disabled the plugin it appears it’s not coming from it.
Can you solve this problem please? It’s very annoying and bad for readers to go on my site , think there are comments on an article and find out there are none.
ChrysOctober 17, 2013 at 5:19 am #176839
Can you please give us a link to the website? Go to Dashboard > Home > Recent Comments > Remove everything including the Trash.
IsmaelOctober 17, 2013 at 1:19 pm #176980
I made some tests and the problem comes from the latest comment in homepage and with the posts on the right.
I want three posts in latest articles on my homepage.
If the first post on the left have comments they won’t show. If the one in the middle have some, they won’t show (actually I have two but you can see it’s written 1) If the post on the right have comments, the number of comments will be attributed to the other posts.
Here one everywhere like on the picture. So it’s the post on the left that commands the other one.
But if you go the blog page, you’ll see that everything is as it should. So the problem comes from the “last post section” i have added on my homepage…
How can I fix that?
Chrys.October 17, 2013 at 1:30 pm #176984October 18, 2013 at 8:01 pm #177553
Now the posts have all 2 comments because the last article on the right have two.
Please I really need a fix on this. It’s a question of credibility, if readers go on my site and want to read the comments on my articles because it says there are some, and they go and they see none they will think it’s false publicity.
ChrysOctober 21, 2013 at 9:38 am #178333
Please create us an admin account and post the login credentials as private reply. We’ll look into it.
PeterOctober 21, 2013 at 12:47 pm #178372
I hope you can help.
I had another problem this morning . After doing the update all my icons in the whole theme on all my pages where there are some had disappeared. It’s seems ok now. Maybe it was because the update needed some time to be effective. But still if you could tell me that you see them correctly on your side it would be a relieve to know you don’t notice something wrong.
Chrys.October 21, 2013 at 1:27 pm #178386
Ok I debugged the issue and it seems to be a problem/bug with the WPML plugin. Kriesi uses following code in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php
$commentCount = get_comments_number($the_id);
to query the comments number. This function seems to work when WPML is deactivated but it breaks when WPML is activated (at least it doesn’t seem to accept the id parameter). However the other functions (i.e. get_permalink() or get_the_post_thumbnail()) work just fine and I think the WPML plugin doesn’t return the right comment count when the get_comments_number() is used within a loop. Please contact the WPML plugin authors and ask them to look into it (you can also link to this post) because I think this is something which needs to be fixed in the WPML core plugin code.
PeterOctober 21, 2013 at 1:41 pm #178390
Just a side note – I temporarily fixed it by replacing
$commentCount = get_comments_number($the_id);
//$commentCount = get_comments_number($the_id); $commentCount = $entry->comment_count;
however it’s just a workaround because the get_comments_number() still doesn’t work…
PeterOctober 21, 2013 at 2:06 pm #178401
I have actually noticed many problems with the WPML plugin I have lost some authorization on some extension of this plugin …
I was planning to desinstal it completely and try to reinstall it afterward.
No that you have done something to resolve the problem, do you think that if I delete the plugin and reinstall it , it will interfere with what you have just done?
I’ll wait for your answer to see if I delete the plugin or if I see directly with WPML before.
ChrysOctober 22, 2013 at 12:49 pm #179024
BIG PROBLEM since you went on my site. Please help me to fix it.
Since you went on my site to help me deal with the problem above I have now this message:
Your backup folder MIGHT be visible to the public
To correct this issue, move the .htaccess file from wp-content/plugins/wp-dbmanager to /homez.726/callifra/www/wp-content/backup-db
What does it say that?
ChrysOctober 22, 2013 at 12:53 pm #179026
SORRY!!!! Don’t consider the previous message. You actually activated the plugin wp db manager that I don’t use anymore.
But still can you tell me if I uninstall WPML completely will this mess up the fix you did yesterday?
Kind regardsOctober 23, 2013 at 10:14 am #179558
PeterOctober 25, 2013 at 6:25 pm #180762
The topic ‘The post still shows 8 comments when there are none’ is closed to new replies.