Error Number: 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 ') ORDER BY fecha_publicacion DESC LIMIT 1' at line 1
SELECT * FROM noticias WHERE fecha_publicacion<'' OR (fecha_publicacion='' AND id<) ORDER BY fecha_publicacion DESC LIMIT 1
Filename: models/CommonFunctions.php
Line Number: 95