A solicitor may be liable for failing to advise on the risks of a transaction that took place prior to their engagement.