Seems like error 25 is related to abnormal brake operation. Check the brake lever connectors, check the wiring going to the controller, inspect for damage of wiring or brake levers, inspect brake lever movement is not blocked by something, unplug and plug brake connectors, make sure brakes work...