Warning: Undefined variable $limite in /home/opanoticias/public_html/app/controladores/Paginas.php on line 29
Warning: Undefined variable $offset in /home/opanoticias/public_html/app/controladores/Paginas.php on line 29
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NULL OFFSET NULL' at line 5 in /home/opanoticias/public_html/app/librerias/Base.php:54
Stack trace:
#0 /home/opanoticias/public_html/app/librerias/Base.php(54): PDOStatement->execute()
#1 /home/opanoticias/public_html/app/librerias/Base.php(59): Base->execute()
#2 /home/opanoticias/public_html/app/modelos/Articulo.php(21): Base->registros()
#3 /home/opanoticias/public_html/app/controladores/Paginas.php(29): Articulo->obtenerUltimosArticulos(NULL, NULL)
#4 /home/opanoticias/public_html/app/librerias/Core.php(68): Paginas->index('deportes', 'el-ejemplo-de-j...', 'general', 'mas-espacios-en...', 'opinion', 'la-nueva-era-y-...', 'destacada', 'jornada-de-aten...', '424967')
#5 /home/opanoticias/public_html/public/index.php(9): Core->__construct()
#6 {main}
thrown in /home/opanoticias/public_html/app/librerias/Base.php on line 54