Ha ocurrido un error. Inténtelo de nuevo más tarde.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 estado = 1 ORDER BY fecha_publicacion DESC,id DESC LIMIT 0,10' at line 1' in /var/www/vhost/farcaza.es/home/html/Global/libs/MySQL.php:57 Stack trace: #0 /var/www/vhost/farcaza.es/home/html/Global/libs/MySQL.php(57): PDOStatement->execute(Array) #1 /var/www/vhost/farcaza.es/home/html/Global/modelos/NoticiasIndexModel.php(26): MySQL->leer(NULL, '*', ' id IN (SELECT ...', Array, 'fecha_publicaci...', 10, 0) #2 /var/www/vhost/farcaza.es/home/html/Global/modelos/NoticiasIndexModel.php(166): NoticiasIndexModel->getNoticias(' id IN (SELECT ...', Array, 10) #3 /var/www/vhost/farcaza.es/home/html/Global/controladores/NoticiasIndexController.php(30): NoticiasIndexModel->getNoticiasPaginadasDetalle(NULL, NULL) #4 /var/www/vhost/farcaza.es/home/html/Global/libs/FrontController.php(50): NoticiasIndexController->__construct() #5 /var/www/vhost/farcaza.es/home/html/index.php(6): FrontController::main() #6 {main} SELECT * FROM noticias WHERE id IN (SELECT id_noticias FROM noticias_noticias_categorias WHERE id_noticias_categorias = ?) AND id <> AND estado = 1 ORDER BY fecha_publicacion DESC,id DESC LIMIT 0,10