Help Please Error

10.0.0.112:30120> noclip
Error running call reference function for resource essentialmode: server/main.lua:212: attempt to index a nil value (field ‘?’)
stack traceback:
server/main.lua:212: in local ‘ref’
citizen:/scripting/lua/scheduler.lua:277: in function citizen:/scripting/lua/scheduler.lua:268

Error happens after trying to exectute noclip command in game chat, I’ve already done “setgroup 1 superadmin” in IceCon which recognized me in game, but when I type in /admin in game chat, I get a similiar error to the one above

Any help?

EDIT: I took a screenshot of the log, take a look https://prnt.sc/ihed9k
EDIT: added more screenshots

https://pastebin.com/3A9i6vFu (console.log)

If you are reading this topic, please goto MySQL & Essential Error?, I can’t delete this thread

its a mysql error did you setup mysql for essentialmode or are you using couchdb?

EDIT: If you want mysql you can’t use 5.0.0

CouchDB, I uninstalled MySQL

EDIT; thanks for the quick reply

1 Like

has that issue been resolved then?

make sure that this isn’t in it set es_enableCustomData 1 set mysql_connection_string "server=127.0.0.1;database=essentialmode;userid=root;password=pass1023"
because that means it will attempt to load mysql

remove that line then under # carvars for use from script do:

set convar "es_couchdb_url=localhost","es_couchdb_port=5984","es_couchdb_password=yourcouchdbpass" 

then do restart essentialmode & restart es_admin2 or restart your server.

Check my latest thread, I posted the link above “Someone take a look”