Support » Plugin: Clearfy – WordPress optimization plugin and disable ultimate tweaker » Comments Cleaner didn’t clean comments count

  • Hello,
    I’m using Woocommerce.
    I used the comments cleaner to delete all my websites comments (reviews), the comments are deleted but counter still show 1k comments.
    On products pages I still see that there is X reviews count but there is none in fact,

    How to reset the comments counter?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webcraftic

    (@webcraftic)

    Hi,

    Did you click the “Delete Woocommerce order notices” checkbox?
    http://joxi.ru/RmzEKPBF0lGg8r

    It is also possible that this is a cache and after some time, the counter can be updated.

    Best regards, Alex

    Thread Starter Amine CH

    (@aminech)

    Hi Alex,

    Yes I did click “Delete Woocommerce order notices”, I also cleared cache but still the same issue.
    I searched online and found something saying that comments count is stored in each product in wc_average_rating and wc_rating_count in wp_postmeta table.

    I tried this old plugin https://wordpress.org/plugins/update-comments-count/ it did reset the comments count but at the same time ruined some parts of my website so I had to rollback my database.

    If I make a review for each product and delete it manually, the reviews (comments) count get fixed, but I have to do this manually for every product to update the reviews count

    • This reply was modified 2 years, 6 months ago by Amine CH.
    • This reply was modified 2 years, 6 months ago by Amine CH.
    Plugin Author webcraftic

    (@webcraftic)

    My plugin does not delete the counter in the wc_average_rating and wc_rating_count tables. Now I’m preparing an update for the plugin, I’ll just fix it in the new version.

    I will release an update tomorrow or the day after.

    Best regards, Alex

    Thread Starter Amine CH

    (@aminech)

    Thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments Cleaner didn’t clean comments count’ is closed to new replies.