The first thing I would do is check the heating coils for short to ground.
Remove both wires from the heating element and check for continuity between each terminal to ground. If there is continuity then replace the heating element.
- The part number for the heating element
AP3109438
Here are the break down diagrams for the Whirlpool dryer
Model LEC6646AZ0
Gene.