Upgraded to latest version of template cache which contains improved error handling