Possible new door interlock required, without looking at it hard to say though, might just be a bad connection.
if you're going to look at the door lock for gawd sake disconnect the machine from the mains first, the door lock is live even when the machine is turned off on a lot of machine!
Thank you so much for your answers I have now fixed my washing machine and it was a door error, I hope I will be able to repay the favour at some point. Thanks again!