looks like a couple of problems.
I would see what was on line 69 of the mail file.... that is a problem with the email.
The other error looks like a problem with the insert cart summary into database server behavior. It looks like your referenceID column is numeric and should be a text column.