• 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 replies (of 1 total)
  • Hey, I’m not update latest WordPress and plugin.

    And its work form me.

    Thanks , I’m looking this thing from long time.

Viewing 1 replies (of 1 total)
  • The topic ‘Post counts by days stop working’ is closed to new replies.