First, the good news: My front right wheel bearing is running smoothly again

.
Okay, here's the translation:
Now for the bad news: Since the swap, the ABS and ASR lights are on, and the control unit for my Passat TDI PD 115 hp indicates an 'ABS error' after driving for a while.
Is it a coincidence, or is it related to the ABS sensor on the front right side being disconnected and reconnected during the wheel bearing replacement? After all, the lights first came on about 20 meters after the replacement... What could have gone wrong with the sensors?
It's strange: Sometimes the lights would go out for 100 kilometers, and the ABS seemed to reactivate, but earlier than usual. When braking at the traffic light, just before coming to a stop, there was the typical ABS knocking sensation in my foot.
Can anyone help me figure out what's wrong with my ABS?