Dishwasher burned up two motors

My dishwashwer burned up a motor about two weeks ago… so i replaced it - and for one cycle the unit worked as it should. then the next cycle it burned the new motor up again causing none of the water to drain. any advice on what’s causing this?

the motor leads read infinity for resistance. the valve reads about 25 ohms.

Thanks for the help.

What is the complete model number of the dishwasher?

Gene.