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 MariaDB server version for the right syntax to use near 'LIMIT 0,1' at line 1' in /home/fvcomunicacom/public_html/models/Model.class.php:292 Stack trace: #0 /home/fvcomunicacom/public_html/models/Model.class.php(292): PDO->query('SELECT * FROM...') #1 /home/fvcomunicacom/public_html/models/Model.class.php(129): Model->sql('SELECT * FROM...') #2 /home/fvcomunicacom/public_html/models/Categoria.class.php(104): Model->select('so_categorias', NULL, 'id = ', NULL, 1, 0) #3 /home/fvcomunicacom/public_html/app/controllers/arevista.php(145): Categoria->busca('id = ', NULL, NULL, 1, 0) #4 /home/fvcomunicacom/public_html/system/System.class.php(148): arevista->detalhes() #5 /home/fvcomunicacom/public_html/index.php(66): System->run() #6 {main} thrown in /home/fvcomunicacom/public_html/models/Model.class.php on line 292