Hmmmm , strange one . Are you sure the wires have gone back onto the correct contacts on the new motor , remembering that the pins on the motor AREN’T numbered consecutively ?
It’s worth checking the numbers under the connectors and it should be , from right to left as you look at the motor , 1 4 2 3 .
The colour coding is as follows where the cables are concerned :-
Small White on 1
Pink on 4
big white on 2
Nothing on 3……
And make sure you havn’t connected the Earth onto pin 3 as this will probably form a constant motor circuit…..There is a seperate earth connector on the side of the motor