Sorry...

The error is not there using the Classic template so it is obvously a template issue with my custom template...