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 qdj319.n_programacion.pase_fecha IS NOT NULL
AND qdj319.n_programaci...' at line 4, FILE: /var/www/vhosts/sansebastianfestival.com/httpdocs/publica/templates/71_mod_programa_subquery_pases_numero.php, LINE: 25 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 'ORDER BY qng477.rp_secciones.rp_secciones_orden' at line 7, FILE: /var/www/vhosts/sansebastianfestival.com/httpdocs/publica/templates/71_mod_programa_subquery_pases_seccion.php, LINE: 14