You may have a broken or shorted wire on the trailer. Check the wiring from each brake back to the truck connector and/or trailer frame. Look for pinched/broken/frayed wires. Tug on each connection, make sure it's not loose.
Did you check to make sure you are still plugged in good. Trailer pigtail dragging ground.? Pigtail get pinched? Have you unplugged, and replugged to see if bad connection?