stevieb,
I would hazard a guess that in your case, the controller inside your motor was the source of the problem. If this is the case, a replacement controller is needed, and because they are fairly inexpensive, nobody repairs controllers anymore .
On the kind of bikes I sell, it would not...