Check the wire harness connections on the control board heater relays and the heating element when you unplug the dryer. Attach the loose wires. If the wire harness is damaged, you need to replace it. If the wiring is okay, replace the control board.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.