The bug: 1468031 dumps an error(or blank screens) when
a user tries add a new employee in Employee Information
(PIM Module) with no Hierachy Definitions(defined in
the Admin Module under Company Info) are defined.
How to do it;
To fix the bug you can replace(patch) the file
(EmpViewController.php) residing in
orangehrm/lib/controllers/ directory with the attached file