Actually ignore that - the white can't be in the right place, as the white (earth) should be on a male connector, not a female!
The missing pin is either fog lights, or right hand tail light
I'd bin all the electrics and start again using the correct colour scheme to avoid any future confusion!