I have problem with vehicle shop

Ok so i have added esx_vehicelshop to my server added sql file normally with 0 errors and everything but when i press e to see my shop i get error

SCRIPT ERROR: @esx_vehicleshop/client/main.lua:157: bad argument #1 to ‘insert’ (table expected, got nil)

i reinstalled my whole esx_vehicleshop and sql several times but its still not working.

and also i have error with my esx_licenses

[ script:esx_license] SCRIPT ERROR: @esx_license/server/main.lua:72: attempt to index a nil value (field ‘?’)
[ script:esx_license] > ref (@esx_license/server/main.lua:72)
[ script:esx_license] > (@mysql-async/mysql-async.js:15543)
maybe that is causing the error?