Generic problem


#1

Hi, when i enter in my server i cant see my money or my job, this is what’s up on my console.

Sending heartbeat to live-internal.fivem.net:30110 
Access denied for command add_principal. 
Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:359: server/main.lua:62: attempt to index a nil value (field '?') 
stack traceback: 
server/main.lua:62: in upvalue 'ref' 
citizen:/scripting/lua/scheduler.lua:345: in function <citizen:/scripting/lua/scheduler.lua:344> 
[C]: in function 'xpcall' 
citizen:/scripting/lua/scheduler.lua:344: in function <citizen:/scripting/lua/scheduler.lua:343> 
stack traceback: 
[C]: in function 'error' 
citizen:/scripting/lua/scheduler.lua:359: in function <citizen:/scripting/lua/scheduler.lua:328> 
e[91mError: Unhandled error: Error: BUFFER_SHORTAGE 
Error: BUFFER_SHORTAGE 
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766) 
at h (citizen:/scripting/v8/msgpack.js:29:15761) 
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908) 
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972) 
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076) 
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097) 
at unpack (citizen:/scripting/v8/main.js:20:33) 
at citizen:/scripting/v8/main.js:51:11 
at setImmediate (mysql-async.js:4962:9) 
at Object.callback (citizen:/scripting/v8/timer.js:56:6)e[0m 
Error running call reference function for resource esx_billing: citizen:/scripting/lua/scheduler.lua:359: server/main.lua:64: attempt to index a nil value (local 'xPlayer') 
stack traceback: 
server/main.lua:64: in upvalue 'ref' 
citizen:/scripting/lua/scheduler.lua:345: in function <citizen:/scripting/lua/scheduler.lua:344> 
[C]: in function 'xpcall' 
citizen:/scripting/lua/scheduler.lua:344: in function <citizen:/scripting/lua/scheduler.lua:343> 
stack traceback: 
[C]: in function 'error' 
citizen:/scripting/lua/scheduler.lua:359: in function <citizen:/scripting/lua/scheduler.lua:328> 
Error running system event handling function for resource es_extended: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes 
stack traceback: 
[C]: in function 'error' 
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow' 
citizen:/scripting/lua/MessagePack.lua:465: in field 'any' 
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack' 
citizen:/scripting/lua/scheduler.lua:578: in field '?' 
server/functions.lua:33: in field 'TriggerServerCallback' 
server/common.lua:63: 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> 
Sending heartbeat to live-internal.fivem.net:30110

#2

The problem was i deleted an item in the MySQL an item called permis which is a driving license, i put it back and everything solved, thread can be considered closed