ABS and Stabilitrac lights on

I just replaced both lower balljoints. Put all parts back and started m/v the ABS and Stabilitrac lights are on. I pulled the battery cables off and waited 15 minutes and the lights are still on. Both Wheel bearing wires on each side looked fine and came out with no issues. Any suggestions?

Wheel bearing wires?? All the wheels have speed sensor rings and wheel speed sensors that have wiring connections…The speed sensor pick-ups must be correctly positioned near the notched sensor rings…They signal the ABS computer as to wheel speed. Check and see that everything is in the correct position…