Fixes for ErrorHandling class
Migrating template functions from Settings to Radmin class