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 publicado='1' AND (f_ini>='2026-06-9' OR f_fin>='2026-06-9') order by f...' at line 1You 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 publicado='1' AND (f_ini>='2026-06-9' OR f_fin>='2026-06-9') order by f...' at line 1