WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-' at line 1]
SELECT p.ID AS 'id', p.post_title AS 'title', p.post_date AS 'date', p.post_author AS 'uid', p.comment_count AS 'comment_count', v.pageviews AS 'pageviews' FROM wp_popularpostsdata v LEFT JOIN wp_posts p ON v.postid = p.ID WHERE 1 = 1 AND p.post_type IN('post','snax_quiz','snax_poll') AND p.post_password = '' AND p.post_status = 'publish' ORDER BY pageviews DESC LIMIT -;