I’ve taken it apart and removed the heating element. The connector was melted into the socket and the wiring is burnt in places as you can see from the images:
I want to order replacement parts, but before I do that I just wanted to check is this likely to be a heating element fault or a thermostat problem causing the heating element to overheat?