The optos plug onto a small board below the playfield. Reseat them.
When it returns. I would remove that board. Reflow the solder the pins the connectors plug onto. Plug them back on, and put a dab of hot glue on them to keep them in place.
Assuming your optos are the right ones and working. Even if new.
LTG : )