[help] esx_society error

When i try to deposit society money i get this error:

Error running system event handling function for resource esx_society: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:110: attempt to index a nil value (local ‘society’)
stack traceback:
server/main.lua:110: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:173
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:173: in function citizen:/scripting/lua/scheduler.lua:138

It’s only in a few jobs tried redownload and everything i dont know if its database sided or if its resource sided.

1 Like

I have the same problem

I have the same problem

im going to guess database. typically when ive seen that error its been something with the database, maybe a name not matching up somewhere

I’m pretty sure all the job names in my database is correct hmmm i really wan’t to fix it ;/

sometimes it can be that a name in the jobs doesnt match up with the job_name in the job_grades… thats usually what i find to be the cause in that case or a job populated the job_grades table but missed the jobs table

did any of you try asking in the original topic?

I know the fix im pretty sure.

1 Like

ples m8 if u did know tha fix please tell meh how to fix it :3

pm me. 20 characthers

blyat is that the fix?

For some weird reason, my ceo’s cant check the employees nor set salaries, any clue why?

hye can i know how to fix it

Hey
Check ur resources on start server and be sure u have ur job under esx society this error can be when u starting society after job or if u trigger from client bad society name to server script
/ Kharote :slight_smile:

2 Likes