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 '-24' at line 1 in /home/www/mymoviesdb.com/app/lib/Database.php:62 Stack trace: #0 /home/www/mymoviesdb.com/app/lib/Database.php(62): PDOStatement->execute() #1 /home/www/mymoviesdb.com/app/lib/Database.php(67): Database->execute() #2 /home/www/mymoviesdb.com/app/models/Page.php(23): Database->resultSet() #3 /home/www/mymoviesdb.com/app/controllers/Pages.php(34): Page->getAllMovies('0') #4 /home/www/mymoviesdb.com/app/lib/Core.php(44): Pages->titles('0') #5 /home/www/mymoviesdb.com/public/index.php(4): Core->__construct() #6 {main} thrown in /home/www/mymoviesdb.com/app/lib/Database.php on line 62