Error with esx license

This error is repeated in my console:

Error running call reference function for resource esx_license: citizen:/scripting/lua/scheduler.lua:405: @esx_license/server/main.lua:62: attempt to index a nil value (field '?')
stack traceback:
        @esx_license/server/main.lua:62: in upvalue 'ref'
        citizen:/scripting/lua/scheduler.lua:391: in function <citizen:/scripting/lua/scheduler.lua:390>
        [C]: in function 'xpcall'
        citizen:/scripting/lua/scheduler.lua:390: in function <citizen:/scripting/lua/scheduler.lua:389>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:405: in function <citizen:/scripting/lua/scheduler.lua:374>
Error: Unhandled error in timer: 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:20
    at setImmediate (mysql-async.js:4962:9)
    at Object.callback (citizen:/scripting/v8/timer.js:96:21)
1 Like

Show in you database in license…
You have a Script on your server and Has Not added the SQL… The Script request this… Then is the error…
Solution: Add the SQL (unknow) to you database license

1 Like

You’re awesome. Thanks.

2 Likes

Hm i have all SQL whats needed with esx_license but really dont get why i get this error i tried to add all sql again but they are already there any ideas ?

2 Likes

can u tell me what you add to your database to fix this problem?

1 Like

Hey,

check if everything has its correct name in users_license.
Like, for example, it’s dmv and somebody else wrote dvm

2 Likes

Hi there, thx i found the problem as u said on my users_license, thank you for help

No Problem xD

1 Like

Greetings could anyone help?

1 Like

me too…i dont know, how to fix it

SCRIPT ERROR: @esx_license/server/main.lua:74: attempt to index a nil value (global ‘Async’)

i got this Error in my Live Console. Can someone help me?