Whirlpool Dishwasher won't finish washing

We have a dishwasher that when it starts it runs for approx 1 min then stops and won’t continue. I did run a diagnostic check and it came back with code 6-4, 7-1, 8-1. I went thru and replaced all of them and it still will not run and continues to give me the same 3 error codes. Every once in awhile if I go thru and run the diagnostic test it will run thru the entire cycle once but then I need to do it again for the next washing.

Any idea of the problem?

Steve