Esx_datastore have problem

can someone help me recently got this error and it wasn’t before

[script:esx_datastore] SCRIPT ERROR: @esx_datastore/server/main.lua:18: table index is nil

[ script:oxmysql] SCRIPT ERROR in promise (unhandled rejection): Error: esx_datastore was unable to execute a query!
[ script:oxmysql] Duplicate entry ‘property-6a9fb2eaa68fc6bf7c7799f8dc9cf32f00244bef’ for key ‘index_datastore_data_name_owner’
[ script:oxmysql] INSERT INTO datastore_data (name, owner, data) VALUES (?, ?, ?) [“property”,“6a9fb2eaa68fc6bf7c7799f8dc9cf32f00244bef”,“{}”]

we don’t know how we got this solved, do you have a suggestion?

fxmanifest.lua in esx_datastore
use oxmysql or mysql-async ?

oxmysql

fx_version ‘adamant’

game ‘gta5’

description ‘ESX Data Store’

version ‘1.6.0’

server_scripts {
@es_extended/imports.lua’,
@oxmysql/lib/MySQL.lua’,
‘server/classes/datastore.lua’,
‘server/main.lua’
}

Have you a idea

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.