hello, welcome to just answer. my name is XXXXX XXXXX and i will be happy to assist you with your problem. If the motor just hums when it gets to the spin then the start windings of the motor are bad. you need a new motor.
That's what I was afraid of. Would you recommend replacing the motor or the whole machine?
i would replace the dishwasher. this is an expensive repair.