As the throttle has deicded not to work along with the PAS as well then the fault is likely to be a component failure .
Your controller wiring has useful labelling to identify the wiring, a nice touch.
If the bike has brake cut out sensors then make sure they are working ok , the easiest way...