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 '' at line 1 in /home/guiacomp/public_html/models/modelos.php:551
Stack trace:
#0 /home/guiacomp/public_html/models/modelos.php(551): PDO->query('SELECT * FROM m...')
#1 /home/guiacomp/public_html/controllers/modelosController.php(151): modelos->getColorsModelo('1', '')
#2 /home/guiacomp/public_html/core/core.php(42): modelosController->viewPreview('gratisNoCad')
#3 /home/guiacomp/public_html/index.php(41): Core->run()
#4 {main}
thrown in /home/guiacomp/public_html/models/modelos.php on line 551