Welcome to the forum.
From the limited details you have provided I would guess that it is more likely to be a faulty thermistor on the steam thermoblock.
I would suggest some careful measurements with a multi-meter would give a better indication of where the fault is but please make sure that the machine is unplugged from the power first.
The resistance of the thermistor should be about 100k when cold and it should decrease as it gets warmer.
A faulty heating element usually prevents the machine from getting past the initial flashing green 'power' light stage so the steam pump will not work until all of the ready lights come on.
This section has lots of posts opening up the machine and fault finding but please ask if you need more help.