DarkRP Categorys not working.

I have categories set up on my DarkRP server “like most people” But for some reason now everything’s category won’t work here is a example.


There is 1 Lua problem!
	Please check your console for more information!
[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "UZI" ("Sub Machine Guns") does not exist!

Hints:
	- 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 custom weapons
------- End of Simplerr error -------

There is 1 Lua problem!
	Please check your console for more information!
[ERROR] A runtime error has occurred in "your custom vehicles" on line -1.
The best help I can give you is this:

The category of "charger12poltdm" ("Police") does not exist!

Hints:
	- 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 custom vehicles
------- End of Simplerr error -------



Here is my categories.lua


--[[-----------------------------------------------------------------------
Categories
---------------------------------------------------------------------------
The categories of the default F4 menu.

Please read this page for more information:
http://wiki.darkrp.com/index.php/DarkRP:Categories

In case that page can't be reached, here's an example with explanation:

DarkRP.createCategory{
    name = "Citizens", -- The name of the category.
    categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
    startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
    color = Color(0, 107, 0, 255), -- The color of the category header.
    canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
    sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}


Add new categories under the next line!
---------------------------------------------------------------------------]]
-----Weapons
DarkRP.createCategory{
    name = "Pistols",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 1
}
DarkRP.createCategory{
    name = "Assault Rifles",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 2
}
DarkRP.createCategory{
    name = "Sub Machine Guns",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 3
}
DarkRP.createCategory{
    name = "Light Machine Guns",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 4
}
DarkRP.createCategory{
    name = "Shotguns",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 5
}
DarkRP.createCategory{
    name = "Sniper Rifles",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 6
}
DarkRP.createCategory{
    name = "Ordnance",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_BLACKM, TEAM_ALL}, ply:Team()) end,
    sortOrder = 7
}
DarkRP.createCategory{
    name = "Specials",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_BLACKM, TEAM_ALL}, ply:Team()) end,
    sortOrder = 8
}
DarkRP.createCategory{
    name = "Tools",
    categorises = "weapons",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_BLACKM, TEAM_ALL}, ply:Team()) end,
    sortOrder = 9
}
-----Shipments
DarkRP.createCategory{
    name = "Pistols",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 1
}
DarkRP.createCategory{
    name = "Assault Rifles",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 2
}
DarkRP.createCategory{
    name = "Sub Machine Guns",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 3
}
DarkRP.createCategory{
    name = "Light Machine Guns",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 4
}
DarkRP.createCategory{
    name = "Shotguns",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 5
}
DarkRP.createCategory{
    name = "Sniper Rifles",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_GUND, TEAM_ALL}, ply:Team()) end,
    sortOrder = 6
}
DarkRP.createCategory{
    name = "Ordnance",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_BLACKM, TEAM_ALL}, ply:Team()) end,
    sortOrder = 7
}
DarkRP.createCategory{
    name = "Specials",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_BLACKM, TEAM_ALL}, ply:Team()) end,
    sortOrder = 8
}
DarkRP.createCategory{
    name = "Tools",
    categorises = "shipments",
    startExpanded = false,
    color = Color(255, 0, 0, 255),
    canSee = function(ply) return table.HasValue({TEAM_BLACKM, TEAM_ALL}, ply:Team()) end,
    sortOrder = 9
}
-----Jobs
DarkRP.createCategory{
    name = "Citizens",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 1
}
DarkRP.createCategory{
    name = "Criminals",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 2
}
DarkRP.createCategory{
    name = "Civil_Protection",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 3
}
DarkRP.createCategory{
    name = "Goverment",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 4
}
DarkRP.createCategory{
    name = "For_Hire",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 5
}
DarkRP.createCategory{
    name = "Dealers",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 6
}
DarkRP.createCategory{
    name = "Drug",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 7
}
DarkRP.createCategory{
    name = "VIP",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 8
}
DarkRP.createCategory{
    name = "Admins",
    categorises = "jobs",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 9
}
-----Cars
DarkRP.createCategory{
    name = "Chairs",
    categorises = "vehicles",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 1
}
DarkRP.createCategory{
    name = "Cars",
    categorises = "vehicles",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 2
}
DarkRP.createCategory{
    name = "Police",
    categorises = "vehicles",
    startExpanded = true,
    color = Color(0, 255, 240, 255),
    canSee = function(ply) return true end,
    sortOrder = 3
}

Please Help.