A strange error occurs when starting up the server

So I once tried to run the server, but after all I find out that every restart the error getting back. that’s the error - no matter what command I do within the game like /admin, /goto, /bring etc… I get a LUA error -

Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:218: attempt to index a nil value (field '?')
stack traceback:
        server/main.lua:218: in upvalue 'ref'
        citizen:/scripting/lua/scheduler.lua:337: in function <citizen:/scripting/lua/scheduler.lua:336>
        [C]: in function 'xpcall'
        citizen:/scripting/lua/scheduler.lua:336: in function <citizen:/scripting/lua/scheduler.lua:335>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:351: in function <citizen:/scripting/lua/scheduler.lua:322>
hitch warning: frame time of 244 milliseconds

I know it’s related to Essentialmode, but I installed everything correct and I watched videos many times to see what am I missing, but still this error occurs, how and why?