If it has been happening directly since the gearbox was replaced.
Seems likely something was left unplugged or incorrectly placed. Start by checking all plug connections to all sensors and earth connections.