DarkRP Server - Players start with Invalid Jobs?

Every time a person joins or dies, they start with an invalid job. Then you get an error when you try to hit f4 or spawn anything. The error is as follows.


[DarkRP] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua" on line 384.
The best help I can give you is this:

There is a player with an invalid team!

The player's name is Tool, their team number is "25", which has the name "Super Admin"

Hints:
        - It is the server owner's responsibility to figure out why that player has no valid team.
        - This error is very likely to be caused by an earlier error. If you don't see any errors in your own console, look at the server console.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
        1. gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua on line 384
        2. gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua on line 469
        3. function 'Give'
        4. gamemodes/sandbox/gamemode/commands.lua on line 697
        5. lua/includes/modules/concommand.lua on line 54
------- End of Simplerr error -------

  1. error - [C]:-1



I’ve looked all over the internet and can’t find a solution. Sorry if this is in the wrong section, please move it to the correct one if it is.

Anybody?

Wrong section + you didn’t post your jobs.lua, I think I know why

Why would I post my jobs.lua?


--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
	Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields


Add jobs under the following line:
---------------------------------------------------------------------------]]


TEAM_LINK = DarkRP.createJob("Link", {
   color = Color(0, 255, 2, 255),
   model = {"models/linkoot/linkoot.mdl"},
   description = [[The Hero of Time - Vanquish Evil]],
   weapons = {"weapon_mastersword","pocket","keys"},
   command = "adultlink",
   max = 1,
   salary = 500,
   admin = 0,
   vote = false,
   hasLicense = true,
   candemote = false,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Hero",
})

TEAM_YOUNGLINK = DarkRP.createJob("Young Link", {
   color = Color(0, 255, 2, 255),
   model = {"models/childlink/childlink.mdl"},
   description = [[Make sure to get your parents permission before going to disneychannel.com, Link.]],
   weapons = {"pocket","keys"},
   command = "kidlink",
   max = 100,
   salary = 100,
   admin = 0,
   vote = false,
   hasLicense = true,
   candemote = false,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Hero",
})

TEAM_SKULLKID = DarkRP.createJob("Skull Kid", {
   color = Color(0, 255, 2, 255),
   model = {"models/skullkid/skullkid.mdl"},
   description = [[Stop bumming around and stealing horses, man. Get a job.]],
   weapons = {"pocket","keys"},
   command = "skullkid",
   max = 100,
   salary = 0,
   admin = 0,
   vote = false,
   hasLicense = false,
   candemote = false,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = true,
   cook = false,
   category = "Outcast",
})

TEAM_SHIEK = DarkRP.createJob("Shiek", {
   color = Color(246, 246, 246, 255),
   model = {"models/xxdragonbeatsxx/player_sheik/sheik.mdl"},
   description = [[You really don't need to stand there, Shiek. You can go home. ]],
   weapons = {"stunstick","pocket","keys","door_ram","unarrest_stick","arrest_stick"},
   command = "shiek",
   max = 5,
   salary = 350,
   admin = 0,
   vote = false,
   hasLicense = true,
   candemote = false,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Royal Family",
})

TEAM_GANON = DarkRP.createJob("Ganondorf", {
   color = Color(67, 67, 67, 255),
   model = {"models/twilight princess/ganondorf/ganondorf.mdl"},
   description = [[You rule Hyrule, and are too cool for school. (Fool!)]],
   weapons = {"stunstick","pocket","keys","door_ram","unarrest_stick","arrest_stick"},
   command = "ganon",
   max = 1,
   salary = 600,
   admin = 0,
   vote = false,
   hasLicense = true,
   candemote = false,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Royal Family",
})

TEAM_ZELDA = DarkRP.createJob("Zelda", {
   color = Color(211, 0, 255, 255),
   model = {"models/twilight princess/zeldatp.mdl"},
   description = [[Since Ganondorf rules everything, you have to stick with being chief of police. Hey, ordering the Shieka around isn't that bad.]],
   weapons = {"stunstick","pocket","keys","door_ram","unarrest_stick","arrest_stick"},
   command = "zelda",
   max = 1,
   salary = 400,
   admin = 0,
   vote = true,
   hasLicense = true,
   candemote = false,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = true,
   hobo = false,
   cook = false,
   category = "Royal Family",
})

TEAM_DARKLINK = DarkRP.createJob("Dark Link", {
   color = Color(90, 90, 90, 255),
   model = {"models/darklinkoot/darklinkoot.mdl"},
   description = [[You are the Shadow boss. Boss around your tiny minions as you please. You can tell them to do anything. Anything.]],
   weapons = {"pocket","keys","unarrest_stick"},
   command = "dlink",
   max = 1,
   salary = 200,
   admin = 0,
   vote = false,
   hasLicense = true,
   candemote = true,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Shadows",
})

TEAM_FSHIEK = DarkRP.createJob("False Shiek", {
   color = Color(90, 90, 90, 255),
   model = {"models/ssbb/ssbbsheik.mdl"},
   description = [[You are a Shieka spy. You dress like the Shieka, but are definitely not a Shieka. You report to Shadow Link.]],
   weapons = {"pocket","keys"},
   command = "fshiek",
   max = 10,
   salary = 200,
   admin = 0,
   vote = true,
   hasLicense = true,
   candemote = true,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Shadows",
})
--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_YOUNGLINK


--[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
	[TEAM_ZELDA] = true,
	[TEAM_SHIEK] = true,
	[TEAM_GANON] = true,
}

--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)


I didn’t edit any core files.

Is there anything else that you edit? Cuz 1 error could bring the whole thing down

I have ONLY edited jobs.lua and disabledefaults.lua from darkrpmodification.