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 'LIMIT 1' at line 1 in D:\vhostroot\LocalUser\amae789\www\library\cls.pdo.php:26 Stack trace: #0 D:\vhostroot\LocalUser\amae789\www\library\cls.pdo.php(26): PDO->query('SELECT * FROM `...') #1 D:\vhostroot\LocalUser\amae789\www\library\cls.pdo.php(65): DataObject->query('SELECT * FROM `...') #2 D:\vhostroot\LocalUser\amae789\www\library\cls.channel.php(10): DataObject->getRow('SELECT * FROM c...') #3 D:\vhostroot\LocalUser\amae789\www\model\detail.php(17): Channel->getChannel(NULL) #4 D:\vhostroot\LocalUser\amae789\www\index.php(17): Model\Detail->__construct() #5 {main} thrown in D:\vhostroot\LocalUser\amae789\www\library\cls.pdo.php on line 26