Mine is hardwired straight into the rear hub and at the controller end the hall sensor cables are on a plug and socket and the phase wires are connected on eyelets in a 3 way joint box.
Since we poke earlier i have removed the rear wheel, and taken the motor out, there's nothing obvious wrong ...