Hi Phil: Please open a support ticket for this, and provide the URL of the template (open the template designer in full screen and copy the URL that starts with http://app.clickdimensions.com...). Our support team will review the HTML in the template to see what is causing the error.
Thanks!