Actually I already answered the question for you.
The problem isn’t foxguard.
It’s the Keys protection plugin by @viveleroi
Yes you have this plugin installed, even though you didn’t list it.
Don’t try to tell my otherwise, because that plugin is the cause of the error.
Go bother @viveleroi instead.