Attempt to index a nil value (global 'lib')

Hi, I’m using QBcore, but the fishing I’ve installed is set to lib. The fishing script I’m using supports both QB and ESX. Any help would be amazing, thank you.

What is lib in that code? Post the snippet of code where that comes up; if it’s a function, the entire function.

I’ve added screenshots from utils/sv_main.lua, server/level.lua, server/ped.lua and server/rent.lua

1



It was working fine before until I tried updating ox_lib and oxmysql

Huh, that’s not much use surprisingly. Check the config files, if there are any, and if you cant figure it out contact the resource creator for help. I wont try to guess what exactly lib is intended to be here.

I’ve contacted the creator, so hopefully can get it sorted, but thank you for trying

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