replace “TriggerEvent(‘QBCore:GetObject’, function(obj) QBCore = obj end)” in both the server and client main.lua with
“local QBCore = exports[‘qb-core’]:GetCoreObject()”
This fixes the issue