Whirlpool Quiet Partner III

Whirlpool Quiet Partner III flashed "clean" 7 times; ran diagnostic cycle and have tried various means to fix heating system. Machine seemed to have problem heating water before it quit working. Replaced the heating element and that did not solve the problem. Checked inside door; no visibly burnt wires.

Any idea what the problem could be?

Many thanks!