A former Premier League and Scottish international was taken to hospital on Thursday night after collapsing on the pitch just before a League Two match.