• Hello and thank you for the wonderful plugin!

    It’s been some time by the looks of it that the counter stays at zero for the majority of posts. Entering a post and refreshing makes no difference. I have tried all different options php/js/rest but result still stays the same.

    Using object cache, but even disabling it makes no difference.

    Any ideas what could be wrong?

    • This topic was modified 1 year, 2 months ago by scooterlord.
    • This topic was modified 1 year, 2 months ago by scooterlord.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dFactory

    (@dfactory)

    Hi,

    We’d have to have a look at your website. Something is obviously not ok. In PHP mode caching can be the issue, so it’s not recommended to go this rout. In JS mode it should be working, especially that it is not using any dependency (like jQuery). What might be the problem in that case (but in some rare cases) is the script execution time – though it could only affect the accuracy to some extent (not 0 views like you have).

    Alternatively, we’ve just pre-released a Post Views Counter Pro version that among many other features includes Fast Ajax counting method that’s much faster then the 3 others available now. Would that help in your case, can’t tell for sure.

    Thread Starter scooterlord

    (@scooterlord)

    Hello and thank you for your reply. Could you take a look at the website and try to see if something is wrong? I currently have it set the counter mode to JS.

    The website is https://www.motornoid.com

    Also, attaching a screenshot from wp-admin to see the status of things: https://i.imgur.com/p3pQ2IF.png

    Any ideas or pointers are greatly appreciated.

    Edit: I disabled all caching – Object Cache Pro, Breeze and Cloudflare. I was checking a specific post and noticed that for some reason and only when I am logged in I can see the count. Loading the same post in private browsing still indicates 0.

    In the meantime I also disabled js minification.

    Edit2: I have identified the culprit to be Varnish cache which does an extremely good job optimizing the website. Any ideas on how to handle such a case?

    • This reply was modified 1 year, 1 month ago by scooterlord.
    • This reply was modified 1 year, 1 month ago by scooterlord.
    • This reply was modified 1 year, 1 month ago by scooterlord.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post counter stays at 0’ is closed to new replies.