by Kieran Briggs.
Yes, one of the team was trialiing external enrolments but did it on the live server and not the test one so when I went to upgrade I got the problem. Thanks for all the help.