Hi Mark,
Here are a few suggestions that may help:
Double check that all the connectors are properly plugged together, just in case a wire has been accidentally snagged/pulled whilst putting the bike away etc. or perhaps they were not fully plugged in initially.
Make sure that all the wiring is safely secured away from moving parts i.e. the wheels/tyres, chainwheel, steering and suspension etc. to prevent them from being chaffed or crushed.
Make sure the controller's battery voltage setting is correct for your battery. If it is set to 36V and you are using a 48V battery, it may have worked last time
if the battery was partially discharged and its voltage was below 50V.
The voltage of a fully charged 48V battery would be well above the 50V maximum that the 36V controller settings will safely allow, and the motor would therefore not be able to work.
Make sure both brake levers are fully released, as activating the regenerative braking function also disables the throttle.
Was is wet, raining or did you hose down the bike after your last ride? If so, it may be possible that some water has found its way into one of the connectors, or perhaps inside the thumb throttle unit itself.
If water was causing the throttle signal to be higher than expected, when the controller is switched on, the motor would be unable to run due to a safety feature of the controller that prevents the motor from running if the throttle is activated when the power is turned on.
Check out
this thread for further information on how water can affect the throttle operation.
Hopefully you will find something obvious.
Alan