ESX_Society Console Error

Thank you :slight_smile:

Hello help me

Error running system event handling function for resource esx_society: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_society/server/main.lua:39: attempt to index a nil value (field ‘?’)
stack traceback:
@esx_society/server/main.lua:39: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182

ESX_Society Console Error please help!

Untitled1|670x452

es_extended: invalid job “reporter” from table job_grades ignored!
SCRIPT ERROR: @esx_society/server/main.lua:26: attempt to index a nil value (field ‘?’)
> fn (@mysql-async/lib/MySQL.lua:197)

4 Likes

i have this bug easy to fix ?
SCRIPT ERROR: @esx_society/server/main.lua:26: attempt to index a nil value (field ‘?’)

2 Likes

I have the same error. You untied him?

I have the same error. You untied him?

SCRIPT ERROR: @esx_society/server/main.lua:26: attempt to index a nil value (field ‘?’)

I have the same error

SCRIPT ERROR: @esx_society/server/main.lua:91: attempt to index a nil value (local ‘society’)

I’m currently having this issue if anyone knows how to fix it.

i got this error in my console when a boss of a job is in the server

SCRIPT ERROR: @esx_society/server/main.lua:167: attempt to index a nil value (local ‘account’)

ref (@esx_society/server/main.lua:167)

handler (@esx_addonaccount/server/main.lua:63)

ref (@esx_society/server/main.lua:166)

TriggerServerCallback (@es_extended/server/functions.lua:160)

handler (@es_extended/server/common.lua:71)

and when i deposit money i have this error

SCRIPT ERROR: @esx_society/server/main.lua:71: attempt to index a nil value (local ‘account’)

ref (@esx_society/server/main.lua:71)

handler (@esx_addonaccount/server/main.lua:63)

handler (@esx_society/server/main.lua:70)

someone has a solution for this error?

this is my server.cfg

#no esx
ensure mapmanager
#ensure chat
#ensure chat-theme-gtao
ensure spawnmanager
ensure chat
ensure chatrollen
ensure chatthema
ensure esx_rpchat
ensure restart
ensure sessionmanager
#ensure essentialmode
ensure player-data
ensure hardcap
ensure rconlog
ensure mysql-async
#ensure fivem
#ensure esplugin_mysql
ensure spawnmanager
ensure sessionmanager
ensure async
ensure es_extended
ensure fxmigrant
ensure instance
ensure NoReticle
ensure new_banking
ensure handsup
ensure pointFinger
ensure seat-switcher
ensure TakeHostage
ensure CarryPeople
ensure bob74_ipl
ensure afkkick
ensure pingkick
ensure qalle-wheelchair
ensure tp
ensure vMenu
ensure ShowOwnID
ensure dpemotes
ensure jsfour-idcard
ensure radio
ensure RealisticVehicleFailure
#ensure mythic_progressbar
ensure vSync
ensure crouch
ensure dpclothing
ensure damageragdollv2
ensure dano_armas
ensure NoDriveBy
#ensure No-NPC
ensure PlayerLogs
ensure connectqueue
ensure ffpsshot_aim
ensure esx_carlock
ensure WeazelNewsCam
ensure elsplus
ensure wld-delallveh
ensure RealisticVehicleFailure
ensure vir-deathscreen
#ensure devtools
#ensure trew_hud_ui
ensure resource-restarter
ensure resource-stopper
ensure el_daily_rewards
ensure overheidsbericht
ensure AdminBericht
#ensure server_logger
ensure JD_logs

#esx
ensure esx_addonaccount
ensure cron
ensure esx_billing
ensure esx_pmenu
ensure esx_property
ensure esx_datastore
ensure esx_basicneeds
#ensure esx_status
ensure esx_skin
ensure esx_barbershop
ensure esx_society
ensure esx_doorlock
ensure esx_dmvschool
ensure esx_license
ensure esx_carwash
ensure esx_vangelico_robbery
ensure ESX_GiveCarKeys
#ensure esx_voice
ensure esx_sit
ensure esx_identity
ensure esx_np_skinshop
ensure esx-checkdeathcause
ensure esx_jailer
ensure esx-kr-vehicle-push
#ensure esx_vehicle_inventory
ensure esx_holdup
ensure esx_holdupbank
ensure esx_vehiclelock
ensure esx_supermarket
#ensure esx_lscustom
ensure esx_mechanic
ensure esx_bike-rental
ensure esx_service
ensure esx_GetOut
ensure esx_trunk
ensure esx_report
ensure esx_moneywash
ensure esx_jail
ensure esx_taakstraf
ensure esx_securitycam
ensure esx_optionalneeds
ensure esx_gym
ensure esx_bitcoin

#testen
ensure taximeter
ensure slashtires
ensure customguns
ensure geen1hit
ensure coffre_entreprise
ensure stretcher
ensure esx_tpnrp_luckywheel
ensure ReducedNPCs
#ensure stasiek_selldrugs
ensure nocarjack
ensure VriendelijkeNpcs
ensure FiveM-Remove-AICops
#ensure esx_npcdrugsales
ensure stasiek_selldrugs
ensure disabledispatch
ensure wm-serversirens
ensure TrafficAdjuster
#ensure trafficadjuster
ensure esx_discord_bot
ensure esx_jb_dj
ensure chud
ensure core_carsharing
ensure esx_minebitcoins
#ensure esx_custostatus
ensure core_carsharing
ensure esx_clip
ensure esx_weaponshop
ensure esx-weapon-pull-out
ensure hud
ensure 99kr-burglary
#ensure fivem-seatbelt
#ensure SeatbeltIndicator
ensure DiscordActionButtons-main
ensure lottery
ensure otf_vendascarros
ensure speedometer

ensure esx_robatm
ensure esx_borrmaskin

#ensure eup-stream

#Voice chat
ensure rp-radio
ensure mumble-voip

#phone
ensure esx_addons_gcphone
ensure gcphone
ensure screenshot-basic

#Admin
ensure EasyAdmin
ensure esx_adminplus

#Radial Menu
ensure radialmenu
ensure PiggyBack
ensure kimlik
ensure sirtaal
ensure vehicle-control

#Jobs
ensure esx_jobs
ensure esx_joblisting
ensure esx_policejob
ensure esx_ambulancejob
ensure esx_mechanicjob
ensure esx_straatratten
ensure esx_admins
ensure Esx_Ocean-Salvage
ensure esx_windowcleaner
ensure esx_duty
ensure esx_maffia
ensure ESX-Pizza
ensure esx_taxijob
ensure esx_realestateagentjob
ensure esx_poolcleaner
ensure esx_bus
ensure esx_houthakker
ensure esx_tanker
ensure esx_wapendealer
ensure esx_lawyerjob
ensure esx_technician
ensure esx_diving

#POLICE JOB
ensure danny3_outlawalert
ensure PoliceVehiclesWeaponDeleter
ensure esx_ktackle
ensure Noodknop
ensure heli
ensure esx_policemdt

#AMBULANCE JOB
ensure esx_ambulanceGarage

#ANWB JOB
ensure esx_lscustom

#Gangs
ensure esx_peakyblinders
ensure esx_godz

#Vuilnisman
ensure esx_garbagecrew_v2
ensure trash

#Unicorn
ensure esx_unicornjob
ensure malteser_cinema

#vehicleshops
ensure esx_vehicleshop

#custom vehicleshop
#ensure esx_customcardealer

#Garage
ensure esx_jb_eden_garage2
ensure ft_libs
ensure disc-pdgarage

#OM scripts
ensure OM_Blokkenpark
ensure OM_TaxiGebouw
ensure OM_textures
ensure OM_DiscordText
ensure OM_WebsiteText
ensure OM_blokkenparkweg
ensure OM_WelkomBericht
ensure OM_VasteBorden
ensure OM_tankstations
ensure OM_Logos
ensure OM_Prullenbak
ensure OM_FrostGangHouse
ensure OM_SpelerData
ensure OM_GeenHelm
ensure OM_GebouwLogo
ensure OM_Gevangenis
ensure OM_icons
ensure OM_VerkeersbordenNL
ensure OM_ExterneLogos
ensure OM_Gewond
ensure OM_mededeling

#Menu
ensure esx_menu_default
ensure esx_menu_dialog
ensure esx_menu_list

#Menu
ensure c_inventaire
ensure calculator
ensure jsfour-idcard

#Drugs
ensure OM_Drugs
ensure OM_DrugsGebouwen
ensure OM_ExternDrugs

#Tankstation
ensure LegacyFuel

#chat
ensure 3dme
ensure esx_rpchat

#Casino
ensure esx_fameroulette
#ensure esx_blackjack
ensure casino

#kleding
ensure eup-stream
#ensure assets_clothing
#ensure Naaktevrouwen

#Maffia

#notify
ensure pNotify
ensure mythic_notify

#Map
ensure minimap
ensure NederlandseWegen
ensure hypnonema-map
ensure hypnonema
ensure trafficlights
ensure trafficsigns
ensure grensborder
ensure banner_anim

#gebouwen
#ensure mkmrpd
ensure Banken
ensure ikea
ensure gabz_pillbox_hospital_v2
ensure pacific_bank
ensure vineyard
ensure Custom_autodealer
ensure vinewoodcinema
ensure kartmap
ensure platinum_cars
ensure wnewsv2
ensure Sign_rp
ensure assets_mapreplace
ensure verpi_driving_school
ensure verpi_jobcentre
ensure dynasty8
ensure LD-Maccas
ensure restaurant
ensure Cubepark_Garage
ensure Cityhall
ensure playboy
ensure Unicorn
ensure gabz_vu
ensure lks_vnwdhse
ensure uj_casino

#ANWB
ensure ls_black_white
#ensure ls_original

#prison
ensure prisonprops
ensure int_prisonfull

#barriers
ensure removebarricades
ensure removebarricades2

#WinkelCentrum
#ensure arcadius
#ensure arcadiusapart

#Wapens
ensure assets_weapons
ensure Weaponry

#scoreboard
ensure esx_scoreboard

#Anticheat
ensure chocohax

#Loading-screen
#ensure yume_legend
#ensure XGame-Loading-Screen
#ensure Kaczor-load
#ensure Loadingscreen
#ensure load
#ensure laadscherm
#ensure mix_loadingscreen
#ensure Sahload
ensure loadingscreenv2

Essentialmode

start salty_death

start es_extended

start esx_skin

start pvp

#-[SaltyChat]-

start saltychat

start saltyhud

start SaltyNUI

start saltyradio

#-[Phone]-

start gcphone

#-[Clothes]-

start klamotten

start test

#-[Discord Bots]-

start RichPresence

start DiscordComm

start statelogs

#ESX

start esx_datastore

start esx_society

start esx_billing

start esx_addonaccount

start esx_addoninventory

start esx_datastore

start esx_joblisting

start esx_jobs

So what I have got out of this is, the reason esx becomes nil is for the reason something is either missing in the database, so when the script makes that call it breaks that script

SCRIPT ERROR: @esx_society/server/main.lua:26: attempt to index a nil value (field ‘?’)

I need help

can u help me to slove the problem?