Check the wire harness connections between the drive motor and the inverter board when you unplug the dryer. If the wire harness is damaged, you should replace it. The inverter board should be replaced if the wire connections are ok.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.