Q: Why am I seeing a "Leave Create Error" with "Undefined variable: leaveType"?A: This error occurs when the specific leave type you selected has been turned off or is currently unavailable in the system.Related ArticlesWhy do I see the error “Leave Create Error (Validation)” when submitting a leave request?Why do I see the error “Leave Create Error (You can’t use leave on holiday)” when applying for leave?Why do I see errors about requesting too many or too few leave days in a single request?Why do I see the error “This leave type is only for male/ female employees”?Why am I getting a "Leave Create Error" "You don't have Leave Create Permission to perform this action"?