For a while now we have had some foul odors coming out of the dishwasher this occurs whether we have dishes in there or not. After doing a load of dishes the smell subsides for a day or two, but then always comes back. When I mentioned this to a contractor friend of my mine he suggested checking the P-trap, but when I got under the sink I discovered that there is no P-trap. So my question is should there be? And could this configuration shown below be the culprit for the stink?
Thanks
Thanks

