Add missing use statement
Add array type in constructor for global function
Replace getRouteName by getActualRouteName
Add GlobalFunction Interface for parameters injection
Change js and css folder for Error views