Notice: Use of undefined constant VOTE_INTERVAL - assumed 'VOTE_INTERVAL' in C:\Users\ruben\www\heroes.conquer.es\model\base\vote.model.php on line 5
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 4 in C:\Users\ruben\www\heroes.conquer.es\model\base\vote.model.php:5
Stack trace:
#0 C:\Users\ruben\www\heroes.conquer.es\model\base\vote.model.php(5): PDO->prepare('SELECT *, TIME_...')
#1 C:\Users\ruben\www\heroes.conquer.es\pages\public\vote\vote.controller.php(2): VoteBaseModel::getLastRecentAccountVote(NULL)
#2 C:\Users\ruben\www\heroes.conquer.es\index.php(2): require_once('C:\\Users\\ruben\\...')
#3 {main}
thrown in C:\Users\ruben\www\heroes.conquer.es\model\base\vote.model.php on line 5