App.php need getTypeByName at line #127