Please Help! Path tracer ignoring settings and is stuck with 1 sample per pixel

After some tests, it looks that if i disable the denoiser, the path tracer wont finish computing but will output the image after the first sample.
The problem is even more complex now…