QB-Phone error

I keep getting the below error with QB-Phones

does anyone have any ideas?

I’m not seeing anything related to query on my end at that line?

This is line 258 on my end mate,

local result = MySQL.query.await(‘SELECT * FROM player_contacts WHERE citizenid = ? ORDER BY name ASC’, {Player.PlayerData.citizenid})
local Contacts = {}
if result[1] ~= nil then
for k, v in pairs(result) do
v.status = GetOnlineStatus(v.number)
end

258 being the too

Is your oxmysql up to date? Release v2.3.1 · overextended/oxmysql (github.com)

Hi, yes i can confirm this is up to date

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