Hi guys,
This error seems to be caused by the default template.
Here's what I did to fix it and it worked for me:
* Login to the admin panel and click on Emails > Templates
* Type a meaningful name in the box for a new template, select "os Ticket Default Template" to copy from.
* In the following screen, you can leave all the templates as they are. No need to change anything here.
* Save / apply all settings to the new template.
* Click on "settings" tab, and in the "Default email templates" box, select the template you just created.
* Create yourself a ticket and see if everything is working.
That's not the only thing that can cause this error.
It can be caused by any one of the templates containing a bad data. So first things first, one by one disable each of the autoresponders and alerts & notices, and submit yourself a ticket each time one is disabled. As soon as it starts working, you have disabled the faulty template.
Having located the faulty template, go into the template editor and do the same thing on a smaller scale. It will most likely be caused by one of the variables, but at that point it becomes trial and error to work out what's wrong.
Hope this helps.
Regards,
Callum