Plugin not working

when i try to share something i get this error in console and nothing in chat

Failed to call hook 'Share' on plugin 'PreventLooting v1.12.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PreventLooting.Share (BasePlayer player, System.String command, System.String[] args) [0x00134] in <1d54059e565241e387d9c68f6810205f>:0
at Oxide.Plugins.PreventLooting.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x009bb] in <1d54059e565241e387d9c68f6810205f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0
and i get this error randomly in console

Failed to call hook 'CanLootEntity' on plugin 'PreventLooting v1.12.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PreventLooting.CanLootEntity (BasePlayer player, StorageContainer container) [0x000e4] in <1d54059e565241e387d9c68f6810205f>:0
at Oxide.Plugins.PreventLooting.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00694] in <1d54059e565241e387d9c68f6810205f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0157a94ee66ab4a7991faecd1eb84be3b>:0