Ok, it's a problem between the controller and the motor, and not a problem between the battery and controller.
That motor connector still looks like it's not all the way in, but you've angled the photo again, now from the other direction. can't you show a photo at right angles, or better still...