Well, didn’t think to remove and have a closer look at the opto board under the playfield (thanks goes to ddstoys) and presto!! LED fell off and looks like the capacitor has leaked all over the circuit board and is causing the issues. Replaced with new board and all good.
Still have an issue with the pin turning off randomly and restarting itself. Any help suggestions would be great.