You probably have a mismatch between your discord include and plugin. Make sure they are the same version and thus contain the same functions.
I have double checked, replaced all of the discord-connector files (plugin, include, LICENSE and log-core) and recompiled the script, unfortunately, I keep getting this problem.