Custom Category problems

In my server I made custom categories in categories.lua and made some jobs to go in it, and they show up fine in the F4 menu but there’s a lua problem for every job saying the category doesn’t exist even though the category is there in F4.
I’m using a custom F4 menu so I’m not sure if that’s why.

[ERROR] A runtime error has occurred in “your jobs” on line -1.
The best help I can give you is this:

The category of “Admin On Duty” (“Staff on Duty”) does not exist!

- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

That is the error

name = “Staff on Duty”,
categorises = “jobs”,
startExpanded = true,
color = Color(255, 0, 0, 255),
canSee = function(ply) return true end,
sortOrder = 6,

That is the category

TEAM_ADMINONDUTY = DarkRP.createJob(“Admin On Duty”, {
color = Color(255, 0, 0, 255),
model = {“models/player/fallout_3/power_armor_tribal.mdl”},
description = [[Patrol.]],
weapons = {“keypad_cracker_instant”},
command = “admin”,
max = 0,
salary = 0,
admin = 1,
vote = false,
hasLicense = false,
customCheck = function(ply) return ply:IsUserGroup(“admin”) end,
category = “Staff on Duty”,


That is the job.