TemplateException occurs when loading up the portal on a mobile device browser.
LPS-40202 Visiting by UC browser on mobile device caused exception