Notice: Undefined index: n in /var/www/novedades/noticia.php on line 24

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 6' in /var/www/novedades/php/mysql.class.php:99 Stack trace: #0 /var/www/novedades/php/mysql.class.php(99): PDOStatement->execute() #1 /var/www/novedades/noticia.php(24): MySQL->rtnArrayQuery('SELECT ? ...') #2 {main} thrown in /var/www/novedades/php/mysql.class.php on line 99