overextended/ox_doorlock

03.08.2023 SCRIPT ERROR after Update

NebelRebell opened this issue · 2 comments

After Updates
ox_doorlock > v1.13.0
oxmysql > 2.7.3
ox_lib > 3.8.0
ox_target > 1.12.0

^1SCRIPT ERROR:
@ox_doorlock/server/convert.lua:35: bad argument #1 to 'next' (table expected, got nil)^7
^1SCRIPT ERROR:
@oxmysql/lib/MySQL.lua:31: First argument expected string, received 'nil'^7

@ox_doorlock/server/convert.lua:35: bad argument #1 to 'next' (table expected, got nil)^7

Config.DoorList = {}

if next(Config.DoorList) then

[ox_doorlock/server/convert.lua
Config.DoorList = {}
maybe
Config.DoorList = nil

ERROR FIX:
[ script:ox_doorlock] SCRIPT ERROR: @oxmysql/lib/MySQL.lua:31: First argument expected string, received 'nil'