I discovered a duplicate line of code which was removed yet the problem persisted. Moved the code from the bottom of the list and the error message has not returned - but my forum has! Progress
I've got green fingers, but I'm all thumbs using a keyboard!