@esx_status/server/main.lua:66: attempt to index a nil value (global 'ESX')

Hi Guys,

Can you help me with my problem?

I’m having errors for esx_status.

This is the first error that’ll appear after starting server
SCRIPT ERROR: @esx_status/server/main.lua:7: attempt to index a nil value (global ‘ESX’)

And then when I’m in-game, this error will appear:
SCRIPT ERROR: @esx_status/server/main.lua:66: attempt to index a nil value (global ‘ESX’)
SCRIPT ERROR: @esx_status/server/main.lua:66: attempt to index a nil value (global ‘ESX’)
SCRIPT ERROR: @esx_status/server/main.lua:66: attempt to index a nil value (global ‘ESX’)
SCRIPT ERROR: @esx_status/server/main.lua:66: attempt to index a nil value (global ‘ESX’)

Please help, thanks!

Provide some code please :slight_smile:

I created a server my own from start using esx framework to understand everything behind.

The error above was because of the getSharedObject ShASzhxfjhsJFHJSAFhksajfhaskjfh or something like that. Those files was added by the old developer. :slight_smile: Thanks anyways!

1 Like

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