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 '' at line 1' in /home/codde/public_html/comercialzain.com.br/core/crud/query.class.php:37 Stack trace: #0 /home/codde/public_html/comercialzain.com.br/core/crud/query.class.php(37): PDOStatement->execute() #1 /home/codde/public_html/comercialzain.com.br/core/frontend/init.class.php(19): query->select('SELECT id FROM ...') #2 /home/codde/public_html/comercialzain.com.br/frontend/layout/categoria.php(10): init->get('SELECT id FROM ...') #3 /home/codde/public_html/comercialzain.com.br/core/index.php(41): include_once('/home/codde/pub...') #4 /home/codde/public_html/comercialzain.com.br/index.php(1): include_once('/home/codde/pub...') #5 {main} thrown in /home/codde/public_html/comercialzain.com.br/core/crud/query.class.php on line 37