Failed to call hook 'OnServerInitialized' on plugin 'EnhancedBanSystem v5.2.6' (NullReferenceException: Object reference not set to an instance of an object)

Pls help

 

[16:03:04]Failed to call hook 'OnServerInitialized' on plugin 'EnhancedBanSystem v5.2.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_Load () [0x00054] in <8afaf525516e46e694dadd30c7df43d1>:0
at Oxide.Plugins.EnhancedBanSystem.OnServerInitialized () [0x0001e] in <8afaf525516e46e694dadd30c7df43d1>:0
at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x013e2] in <8afaf525516e46e694dadd30c7df43d1>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
[16:03:04]Loaded plugin Enhanced Ban System v5.2.6 by Reneb/Slut

i have this problem too, and with connect players i get error in console, but players correctly added in mysql

if after first connect make reconnect, i have not error again..but after some time i have error with connect again..

MySql handle raised an exception (Exception: Connection is null)
at Oxide.Core.MySql.Libraries.MySql+MySqlQuery.Handle () [0x0002b] in <6e6f659265ef431ea12ea404a5e9a54c>:0


Merged post

bro, go to config EnhancedBanSystem and change:

"DataType - PlayerDatabase - IP Filename": "EnhancedBanSystem_IPs.json" 

to

"DataType - PlayerDatabase - IP Filename": "EnhancedBanSystem_IPs"

 

it work, thanks