Erreur SQL !
select min(concat(date, '-', id_session)) as min, max(concat(date, '-', id_session)) as max from sessions a where id_spot='840'
MySQL server has gone away