JsonReaderException at PlayerDatabase_IsBannedError

Receiving this error on Logoff and Login for some Players:

Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.2.4' (JsonReaderException: Unexpected character encountered while parsing value: S. Path '', line 0, position 0.)
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0005f] in <8dfe405f94a44c76989223f14b2dae57>: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 <8dfe405f94a44c76989223f14b2dae57>:0
  at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String id, System.String ip) [0x00002] in <8dfe405f94a44c76989223f14b2dae57>:0
  at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01523] in <8dfe405f94a44c76989223f14b2dae57>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0

the previous error got fixed, now after the command "ban player reason" i got this

Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.2.5' (JsonReaderException: Unexpected character encountered while parsing value: S. Path '', line 0, position 0.)
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0005f] in <918cd8d713b0486e8a586821e2115d09>: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 <918cd8d713b0486e8a586821e2115d09>:0
  at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String id, System.String ip) [0x00002] in <918cd8d713b0486e8a586821e2115d09>:0
  at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01523] in <918cd8d713b0486e8a586821e2115d09>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0

I double checked my JSON with http://jsonlint.com/ before uploading the config file. Everything is valid. However I'm getting this message.

(03:00:50) | Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.2.5' (JsonReaderException: Unexpected character encountered while parsing value: S. Path '', line 0, position 0.)
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0 
  at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.EnhancedBanSystem+BanData& bandata) [0x0005f] in <4fde8bf8a24a4878ab57e019bfc54643>: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 <4fde8bf8a24a4878ab57e019bfc54643>:0 
  at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String id, System.String ip) [0x00002] in <4fde8bf8a24a4878ab57e019bfc54643>:0 
  at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01523] in <4fde8bf8a24a4878ab57e019bfc54643>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0​

Plugin was outdated. Sorry for the spam.

The issue is PlayerDatabase. You got to remove any references of EBS from the PlayerDatabase data file or wherever you have it saving too

Yea, I didn't have to do that. All i had to do was update the plugin to the newest version. I was working on this plugin, and downloaded all the plugins at like lets say 8pm, and you pushed an update at around 10pm or something two hours later, and i was still working with the old plugin. I didn't have to do anything at all besides updating the plugin. But thank you very much for the reply! :D

oDMpLbzQiExGcv9.jpg DJRedNight

Yea, I didn't have to do that. All i had to do was update the plugin to the newest version. I was working on this plugin, and downloaded all the plugins at like lets say 8pm, and you pushed an update at around 10pm or something two hours later, and i was still working with the old plugin. I didn't have to do anything at all besides updating the plugin. But thank you very much for the reply! :D

Gotcha, glad it's working for you!