Error need help fixing please

help

need help with fixing this im new to this

which version of qb-core are you using, and can u send a screencap of the top of your server.lua for qb-prison?

Im pretty sure and older version of qb im not 100% sure

if you are using the older version of qbcore, you need to use the older version of the object call. which i believe looks like this:

QBCore = nil

TriggerEvent(‘QBCore:GetObject’, function(obj) QBCore = obj end)

fgg

Can you send a pic of the top of your prison server.lua

and the fxmanifest.

1

I believe that the main issue is that because you are using an older version of qb-core that the call that I gave you will not work with the way that the script is set up. However you can try to add this line to the fxmanifest and see if it works afterwards.

shared_script ‘@qb-core/imports.lua’

Granted you should not need this due to it being a qb file already, but I would try that.