Many thanks to everyone who helped with this - It’s great to know that there are people out there who are willing to share their knowledge and experience.
I’ve learned a great deal in the last 24 hours - I will be upgrading to the latest version of MODx ASAP!
I think the loop was initially caused by an unpublished error page and it just went downhill from there - ’pilot error’!