HELP I always get the same error and I can't figure out how to fix it SCRIPT ERROR: @es_extended/server/main.lua:110: attempt to index a nil value (field '?')

When someone joins the server I get this message (picture 1)

I don’t know anymore where to look. Also when a player joins the server you can’t open your inventory
The error tells me to look at line 110 in es_extended/server/main.lua Line 110

I can’t figure out what it is missing because both job and job grade are in the database.

Also a screenshot of mysql-async

PLEASE someone help me I don’t know how to fix this and google doesn’t help either

There might be some type of error in your SQL database - from my experience that’s only happened if I have a job setup (i.e mechanic) but my job_grades are still “mecano” meaning it’s trying to find something that’s not there.

Have a look and see if everything is spelled correctly, in both jobs and job_grades first :slight_smile:

It al seems to be spelled correctly thats also why I don’t know what is wrong

That’s strange :thinking:

Maybe it’s the load order of your server?

start mysql-async
start async
start cron
start es_extended

that’s how it should be, I’m sorry I’m just trying to figure this out lol

make sure in server.cfg set mysql_connection_string is correct and at the top of your server.cfg also, and if that doesn’t work, I saw in another thread someone just redownloaded es_extended and it worked, I am not suggesting this but it could potentially be an option for you.

Both don’t work I reinstalled es_extended and checked the load order

add if result[1] == nil then return end in line 109 after }, function(result)