[Help] Error on table.remove esx_whitelistEnchanced

Hi
pls help to solve this error when it appears 3-4 times my server crash
pls tell me how to fix it

error

Code:

Error running system event handling function for resource esx_whitelistEnhanced:
 citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_whiteli
stEnhanced/server/main.lua:210: bad argument #1 to 'remove' (position out of bou
nds)
stack traceback:
        [C]: in function 'table.remove'
        @esx_whitelistEnhanced/server/main.lua:210: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scriptin
g/lua/scheduler.lua:218>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scriptin
g/lua/scheduler.lua:182>

Moved to #server-development:essentialmode
How do you add whitelisted people?
Did you edit the lua files?

nope just download and put in resources then have this error

just get fivemqueue

ok will fivemqueue solve this problem?

No, it’s a whole resource built for queues. you can add whitelisted, priority on it and shit, just look into it and remove esx_whitelistEnchanced.