• Resolved upyria

    (@upyria)


    Hello everybody.

    Maybe be after the last update the plugin shows wrong data about page views.
    Here two shots about…

    Sample Page Views with right views number

    Widget Pages wrong shown

    Tried to clear cache, but nothing changes.

    Hope you can help us.

    Thanks in Advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Lester Chan

    (@gamerz)

    What is the code that you use to display the stats in the second screenshot?

    I am using the most viewed widget, it works fine https://lesterchan.net/wordpress/ (Right Bottom)

    • This reply was modified 9 years, 5 months ago by Lester Chan.
    Thread Starter upyria

    (@upyria)

    Hi Lester and thanks for your response.

    Here the shot:

    Widget used

    It’s like it does not read the “views” recorded on Page Screen.
    The operation we made was only the latest upgrade. No more plugin installed or changed WP profile.

    Waiting for response, thanks & best regards

    Alberto

    Plugin Author Lester Chan

    (@gamerz)

    I can’t reproduce this problem on my end:

    I made the same settings as you:

    You can checkout here.
    https://lesterchan.net/wordpress/

    I need you to reproduce it, if not I can’t help you.

    If it helps, here is the query I am using, try running it on php my admin and show me a print screen
    SELECT DISTINCT p.*, (pm1.meta_value+0) AS views, IF((pm2.meta_value IS NULL) OR (pm2.meta_value = ''), tt.term_id, pm2.meta_value) AS cat_id FROM wp_posts p LEFT JOIN wp_postmeta pm1 ON pm1.post_id = p.ID LEFT JOIN wp_postmeta pm2 ON (pm2.post_id = p.ID AND pm2.meta_key='_yoast_wpseo_primary_category') INNER JOIN wp_term_relationships tr ON (p.ID = tr.object_id) LEFT JOIN wp_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id AND tt.taxonomy = 'category') WHERE post_date < '2016-12-14 17:01:58' AND 1=1 AND post_status = 'publish' AND pm1.meta_key = 'views' AND post_password = '' GROUP BY p.ID ORDER BY views DESC LIMIT 3

    • This reply was modified 9 years, 5 months ago by Lester Chan.
    Thread Starter upyria

    (@upyria)

    Sorry Lester, we’re not so expert as you are.
    I don’t know where to apply the query you gladly submit us.

    Tried to restore the default template, set in the view forms “Pages”, but nothing changes.
    It’s so strange.

    How can I help you in any way else?
    We need to show only the 3 most viewed pages.

    Maybe a temporary account to our panel?

    Plugin Author Lester Chan

    (@gamerz)

    Hmm I need access to your FTP as well and I need to do debug live on your site. If that is ok, you can email me the details at lesterchan AT gmail

    Thread Starter upyria

    (@upyria)

    Thanks Lester.
    Mail sent.

    Wait for your response. Thanks in advance.

    For every needs, I’m here.

    Alberto

    Plugin Author Lester Chan

    (@gamerz)

    to conclude, it is a bug with the plugin, it will be fixed in 1.75.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Counter Resetted’ is closed to new replies.