"wpp_get_views" does not work
-
Hello, Thank you for the great plugin.
I’m using version 3.0.2.
In the case of “$ range” is “all” or “NULL”, “wpp_get_views” does not work.
“views” column in “wp_popularpostssummary” table does not exist.wordpress-popular-posts.php (line 2968)
$query = "SELECT SUM(views) FROM {$table_name}summary WHERE postid = '{$id}' AND last_viewed > DATE_SUB('{$now}', INTERVAL {$interval}) LIMIT 1;";
I think it’s “SUM(pageviews)” instead of “SUM(views)”.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘"wpp_get_views" does not work’ is closed to new replies.