public function handleTemplateError($errorType, $errorString, $file, $line)
{
switch ($errorType)
{
case E_NOTICE:
case E_USER_NOTICE:
// ignore these (generally accessing an invalid variable)
return;
// case E_STRICT:
case E_DEPRECATED:
case E_USER_DEPRECATED: