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 'and
data <= '2026-11-27'
order by
...' at line 8 in /home/instaxpt/public_html/instax.pt/includes/Noticias.php:367
Stack trace:
#0 /home/instaxpt/public_html/instax.pt/includes/Noticias.php(367): PDOStatement->execute()
#1 /home/instaxpt/public_html/instax.pt/sitemap.php(34): Noticias->getAllArray()
#2 {main}
thrown in /home/instaxpt/public_html/instax.pt/includes/Noticias.php on line 367