Grounds, check the rear grounds
Did the problem start right after you installed the trailer connector?Might be something to do with the 4 way trailer harness I put on ? (the turn signals work fine when the headlights are on but act up when no headlights.)