I have now got to the bottom of the Lambda issue and the error message has gone. See response from my website provider below:
“It was an error with one of the php extensions loaded on the server. It was causing an error variable to be defined before any code was run which wordpress and other applications caught and displayed”.