ESX Inventory Error PlayerData?

I have this error on both the esx_inventoryhud_glovebox and trunk.
path is esx_inventoryhud_glovebox/client/esx_glovebox-cl.lua:51: attempt to index a nil value (upvalue ‘PlayerData’)
When i look at the code
RegisterNetEvent(“esx:setJob”)
AddEventHandler(
“esx:setJob”,
function(job)
PlayerData.job = job
end
)

I dont really see anything wrong? Any help would be appreciated!