Support » Plugin: WP Statistics » Different numbers for site-wide stats at root and posts/pages

  • Resolved sexymazafaka

    (@sexymazafaka)


    Hi Greg.

    Just installed your stats a day ago and found strange behavior of shortcode (and similar php functions) in case I need to display visits or visitors for ‘today’.

    Both shortcode and wp_statistics_visitor(time) + wp_statistics_visit(time) giving me different numbers if I’m on my site root or any other post/page. When I’m on the root, numbers seems to be correct, but if I’m going deeper reading any post/page, it displays strange (constant) numbers.

    UPD… Semi-resolved: looks like this happens only when I’m logged in. When logged out, numbers are always correct.

    https://wordpress.org/plugins/wp-statistics/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    Could it be some kind of weird browser cache problem?

    Greg, not at this time.
    I’ve tested it on all major browsers, and other dynamic content works as it should. And I’m not using any kind of caching wp plugins.

    I am sorry for this, but now it started to work normally. I really don’t know what it was.. Anyway thanks for great plugin (much better and faster than (new)statpress) and sorry again for reporting bug which I can’t catch.

    // Sergey

    Plugin Contributor Greg Ross

    (@gregross)

    No problem, let me know if it comes back.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different numbers for site-wide stats at root and posts/pages’ is closed to new replies.