Complex Darkrp Error


[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sh_entityvars.lua" on line 105.
The best help I can give you is this:

Attempt to call Name/Nick/GetName on a non-existing player!

Hints:
	- No hints, sorry.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
	1. gamemodes/darkrp/gamemode/modules/base/sh_entityvars.lua on line 105
	2. addons/discord_relay/lua/autorun/server/sv_discordwebhook.lua on line 70
	3. lua/includes/modules/http.lua on line 34
------- End of Simplerr error -------

No clue what this means but pops up when i spawn in the server i own.

The discord addon is fucking up in relay/lua/autorun/server/sv_discordwebhook.lua on line 70.

“Complex”

Send the lua file?

[editline]8th December 2016[/editline]

And by the way, if you bought it from a script market. Tell the owner of the script.

The error occurs because the player has somehow stopped being a player between the point where my script asks steam for the avatar URL of the player and the point where my script runs the function that executes the webhook.

Which is fucking stupid because it has to be a valid player the whole time, yet somehow it stops being a valid player.

It’s a mysterious phantom error that I’d love falco to look at, because it only happens in DarkRP.