Washing machine won't turn on - loose connector on PCB - how and where do I reattach it?
I think you are trying the wrong location entirely.
That appears to be an edge connector [ it clips over the edge of a PCB ], and at first I thought the spot where it goes is on the lower right of the 3rd picture and the lower left of the last picture. But I don't think that is correct, looking closer.
It only goes on one way - the slot cut between the connector pads matches a divider between pins - but the position of the slot [7 pins one side, 1 pin on the other, while the plug has 3 pins on one side, 5 on the other] does not add up, and the closed end of the plug (up in your second picture) requires either another slot or a set of pads at the edge of the board it clips to.


So, you're looking for a different 8-pin edge connector on the PCB, but it'll have a divider between pins 3 and 4.