When trying to upload a package containing a logic hook to a sugar on demand environment, I am getting the error "Invalid usage of a function array_map()" The usage of array_map is here: $serviceTypeList = array_map ( "trim" , $serviceTypeList ) ; The…