NullReferenceException at API_GetFormattedMessageError

Here is the error popping up when i do : oxide.reload BetterChat

Failed to call hook 'API_GetFormattedMessage' on plugin 'BetterChat v5.2.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.BetterChat+ChatGroup.GetUserGroups (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00006] in <14d6ac0109a243989289435aaa7242ac>:0
at Oxide.Plugins.BetterChat+ChatGroup.GetUserPrimaryGroup (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00000] in <14d6ac0109a243989289435aaa7242ac>:0
at Oxide.Plugins.BetterChat+ChatGroup.FormatMessage (Oxide.Core.Libraries.Covalence.IPlayer player, System.String message) [0x00006] in <14d6ac0109a243989289435aaa7242ac>:0
at Oxide.Plugins.BetterChat.API_GetFormattedMessage (Oxide.Core.Libraries.Covalence.IPlayer player, System.String message, System.Boolean console) [0x00006] in <14d6ac0109a243989289435aaa7242ac>:0
at Oxide.Plugins.BetterChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003e9] in <14d6ac0109a243989289435aaa7242ac>: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 :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
Unloaded plugin Better Chat v5.2.5 by LaserHydra
BetterChat v5.2.5: Failed to load config file (is the config file corrupt?) (Additional text found in JSON string after finishing deserializing object.)
Could not initialize plugin 'BetterChat v5.2.5' (JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Oxide.Plugins.BetterChat+Configuration' because the type requires a JSON object (e.g. {\"name\":\"value\"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {\"name\":\"value\"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00058] in <45c13f2b01574d8b82248736e42013a4>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00012] in <45c13f2b01574d8b82248736e42013a4>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] 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 Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in :0
at Oxide.Plugins.BetterChat.LoadConfig () [0x0000d] in <14d6ac0109a243989289435aaa7242ac>:0
at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in :0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in :0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Plugins.CovalencePlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000b3] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in :0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in :0
No previous version to rollback plugin: BetterChat

Thats what it says.. I also saw this : "To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.)

Then NRE is likely from the plugin you are using with it using it wrongly, and the JSON error is likely an invalid configuration or data file.