Fatal error: Uncaught exception 'PDOException' with message '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 '-68' at line 1' in /home/a-arida/www/model/Db.class.php:100
Stack trace:
#0 /home/a-arida/www/model/Db.class.php(100): PDO->prepare('Select photo_id...')
#1 /home/a-arida/www/model/season.php(45): Db::select('Select photo_id...', Array)
#2 /home/a-arida/www/controller/season.php(21): seasonModel->getPhotoData('1', '-1', NULL)
#3 /home/a-arida/www/index.php(43): seasonController->execute(Array)
#4 {main}
thrown in /home/a-arida/www/model/Db.class.php on line 100