Check the inline connectors, I have had a lot of issues with those.
Seems they get easily corroded.
Just to be clear - I mean the ones on the cable going from the opto to the wire harness, not the connectors going to the circuit boards.
Might also be dirty opto LEDs, try cleaning them with a Q-tip with some isopropanol on it.