Getting error code

SCRIPT ERROR: @um-admin/client/qb-events.lua:193: bad argument #1 to ‘for iterator’ (table expected, got nil)

trying to fix this error

We need a bit more context, i.e. the source code block at the mentioned location or which script. If it is a purchased script that is encrypted, you need to contact the author.