Viewing 1 post (of 1 total)
  • Author
    Posts
  • #39409
    adminman
    Participant

    Hi,

    I’m using the plugin to show posts by max counts for the current day. I use this code:

    `
    global $wpdb;
    $table_name = “{$wpdb->prefix}post_views”;

    $results = $wpdb->get_results(
    “SELECT id FROM
    $table_name
    WHERE
    period
    = CURRENT_DATE() ORDER BY
    count
    DESC LIMIT 4”
    );
    `
    Before the latest update everything was working fine. However after the last update I’ve noticed that the fields in the database with type 0 are not updating. However the overall views are.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.