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 'LIMIT 1' at line 1' in /application/model/Kategorie.php:18 Stack trace: #0 /application/model/Kategorie.php(18): PDO->query('SELECT * FROM c...') #1 /application/controller/ProduktController.php(36): Kategorie->id(NULL) #2 /index.php(70): ProduktController->indexAction() #3 {main} thrown in /application/model/Kategorie.php on line 18