CMS-4022 Better error messages in portal (no errors in templates).