lights work-nothing else does!

dishwasher was running fine-stopped mid cycle to add a glass and when I closed the door again it stopped running.None of the cycles work,but the lights still light up so I know there’s power somewhere. I had to siphon the dirty water out and so it sits. Any ideas?