[help] I need help to fix this error


#1

I’m getting this error when im starting my server

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:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138


#2

idk esx but the error is pretty straight forward, server/main.lua:39: attempt to index a nil value (field ‘?’)

your indexing a value that doesn’t exist in a array.


#3

okey man thanks for the help :smiley: