I have been working through many issues today just to come to a new one finally solved what I thought was the last issues only to find I have issues I have
no idea how to fix XD any help is appreciated!So from just reading the error, it mentions a resource named: esx_weashops
I would suspect that, the resource named âesx_weashopsâ is causing those errors.
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/db.lua:208: attempt to index a nil value (field âdocsâ)
stack traceback:
server/db.lua:208: in upvalue âcallbackâ
server/db.lua:84: in local âuserCallbackâ
citizen:/scripting/lua/scheduler.lua:274: 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
this is the new error now
essential everythign is causeinmg errors i removed several others that were causeing errors but i dont want to remove this
Dont use essentialmode than if it doesnt work/or you cant get it to work??
its required for alot of scripts is my problem
Such as? Have you tried vRP?
i beleive jobs propertys and police mod ill look into vrp
1 Like
I know this is old, but just for future reference, the culprit was an older version of CouchDB. You have to be on 2.0.0 or higher for essentialmode to work. Hope this helps someone down the line