Got to be either the heating element itself (tube type hidden at the back right corner of the machine) or possibly a dry joint on the PCB under the heater relay….common problem. Re solder it and away you go.
I have seen a few with melted heater relays and also be mindful that there are some dishwashers from the ‘Lux family of brands that are subject to a recall for such a problem. Pretty sure that info is on the Help pages of this site. Or Search it up. 😉