Error In Console For ESX_Society

When I delete some jobs in my Data base and i clear my cache and start my server i get an error to for ESX_Society and Ive reset my DB to see if i still get the error and i dont get the error. So how do i remove these jobs from my list without getting that error is there an extra step to avoid this?

This info is nit enough, explain things a bit more in depth

1 Like

in my server there is a list of jobs at a job hub but there are some jobs i dont want on there anymore. So in my DB i go under the “Jobs” tab and delete the jobs i dont want in my server. When i do that and start the server back up i get this error in the console.

Error running system event handling function for resource esx_society: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:39: attempt to index a nil value (field ‘?’)
stack traceback:
server/main.lua:39: in upvalue 'handler’
citizen:/scripting/lua/scheduler.lua:163: in function
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:162: in function

Jobs i want to delete
Trafic cop
Coast Guard
Park ranger
LSFD
Airlines

How do i take these jobs out of my server without getting that error every time?

moved to: #development:scripts

can you take a screen shot of your jobs table in your database

Here is that screenshot i moved the jobs to whitelist to get them off the list for now until i can figure out how to remove them and not get that error.