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 'AND t.id<> ORDER BY trabajo_categoria, orden ASC' at line 3' in /www/adclik.com.ar/htdocs/app/models/trabajos.php:21 Stack trace: #0 /www/adclik.com.ar/htdocs/app/models/trabajos.php(21): PDOStatement->execute() #1 /www/adclik.com.ar/htdocs/app/controllers/trabajos_controller.php(29): Trabajo::getTrabajosCategoria(NULL, NULL) #2 [internal function]: TrabajosController->ver('web-apps', 'redpsi') #3 /www/adclik.com.ar/htdocs/core/app.php(149): call_user_func_array(Array, Array) #4 /www/adclik.com.ar/htdocs/index.php(37): App->render() #5 {main} thrown in /www/adclik.com.ar/htdocs/app/models/trabajos.php on line 21