Błąd bazy danych WordPressa: [Unknown column 'v.last_viewed' in 'where clause']
SELECT p.ID AS 'id', p.post_title AS 'title', p.post_date AS 'date', p.post_author AS 'uid', SUM(v.pageviews) AS 'pageviews' FROM fgpcq_popularpostssummary v LEFT JOIN fgpcq_posts p ON v.postid = p.ID WHERE 1 = 1 AND p.post_type = 'post' AND v.last_viewed > DATE_SUB('2017-12-16 21:32:23', INTERVAL 1 DAY) AND p.post_password = '' AND p.post_status = 'publish' GROUP BY v.postid ORDER BY pageviews DESC LIMIT 10;