Invalid query: SELECT count(*) AS count FROM poll_answer WHERE pollid=63 AND id NOT IN (SELECT answerid FROM poll_answer_vote WHERE userid=): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 2 in /site.php