Fatal error: Uncaught exception 'DbControlException' with message ' 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 /www/pruebarn.rionegro.gov.ar/repository/db/DbMysql.class.php:224 Stack trace: #0 /www/pruebarn.rionegro.gov.ar/repository/db/DbMysql.class.php(63): DbMysql->throwMysqlException() #1 /www/pruebarn.rionegro.gov.ar/repository/db/DbControl.class.php(106): DbMysql->query('select id, cate...') #2 /www/pruebarn.rionegro.gov.ar/repository/masterDAO.php(51): DbControl->initiate() #3 /www/pruebarn.rionegro.gov.ar/repository/General/DBFactory.php(333): masterDAO->executeQuery('select id, cate...') #4 /www/pruebarn.rionegro.gov.ar/index.php(221): DBFactory::createCategoria(Object(masterDAO), '') #5 {main} thrown in /www/pruebarn.rionegro.gov.ar/repository/db/DbMysql.class.php on line 224