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-13' OR f_fin>='2026-06-13') order by...' 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-13' OR f_fin>='2026-06-13') order by...' at line 1