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 '-1' at line 1' in /home/rock_lyric/www/app/NewsDao.php:194 Stack trace: #0 /home/rock_lyric/www/app/NewsDao.php(194): PDOStatement->execute() #1 /home/rock_lyric/www/app/NewsDao.php(45): NewsDao->doExecute('SELECT * FROM n...', true) #2 /home/rock_lyric/www/pc/allnews.php(43): NewsDao->getNews(Array, 'date', 50) #3 /home/rock_lyric/www/allnews.php(7): require_once('/home/rock_lyri...') #4 {main} thrown in /home/rock_lyric/www/app/NewsDao.php on line 194