#attempt to index a nil value (global 'lib')

1 messages · Page 1 of 1 (latest)

placid stump
#

Hi there, Ever since the recent update to qb-core posted around 9hours ago prior to this support request, I've been getting attempt to index a nil value (global 'lib'), when ever I try to interact with a few different scripts, It's my believing that this is related to QB:notify

When i trace the error it points me at qb-core/clients/functions.lua line 124, After inspecting the code something within the recent changes has broken.

ashen garden
#

Are you loading ox_lib before qb-core within your server.cfg?

placid stump
#

Indeed I am, I guess that such script now need to call ox-lib since the changes?

slate nimbus
#

make sure to add this in your fxmanifest where you encounter index a nil value (global'lib') shared_scripts { '@ox_lib/init.lua' } or shared_script '@ox_lib/init.lua'

#

and also run ox_lib

placid stump
#

I will try and report back thanks 😄

#

Hi there, I've tried the sugested fix and the results are the same

placid stump
#

Fixed it, Thank you for your help [D4isDAVID ] for fix

honest fiber
#

I have the same issue, what was the fix?