NullReferenceException at PlayerDatabase_IsBannedError
Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.2.6' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0002f] in <2b5c7979d54f4f7bb61f27c067a1e36e>:0
at Oxide.Plugins.EnhancedBanSystem.isBanned_NonDelayed (System.String name, System.String steamid, System.String ip, System.Boolean update, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0006b] in <2b5c7979d54f4f7bb61f27c067a1e36e>:0
at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String id, System.String ip) [0x00002] in <2b5c7979d54f4f7bb61f27c067a1e36e>:0
at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01523] in <2b5c7979d54f4f7bb61f27c067a1e36e>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

why does this pop up when i try to ban someone?

image

You'd need to check your logs for the error.

This is what pops up in console
Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.2.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0002f] in <6e46f7bf440b4a6f86203984be2f8d16>:0

at Oxide.Plugins.EnhancedBanSystem.isBanned_NonDelayed (System.String name, System.String steamid, System.String ip, System.Boolean update, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0006b] in <6e46f7bf440b4a6f86203984be2f8d16>:0

at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String id, System.String ip) [0x00002] in <6e46f7bf440b4a6f86203984be2f8d16>:0

at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01523] in <6e46f7bf440b4a6f86203984be2f8d16>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0