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 does the system display an error message with "Please add the reason you're applying for leave"?Why 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”?