NullReferenceException at UpdateItemsError
Anyone know why I am getting this error and how to fix?
Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StackSizeController.UpdateItems () [0x0001a] in <1d492297b7a5428bbfdd174273accd45>:0
  at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x0000c] in <1d492297b7a5428bbfdd174273accd45>:0
  at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0037e] in <1d492297b7a5428bbfdd174273accd45>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0​
I have the same issue. I think it is due to this month's Rust update.
I am getting "Failed to call hook" errors after installing the plugin, please help!
Title explains all, ive doubled all the values in the data file, i attempt to reload the config and it doesnt work, ive played around with this quite a bit i cant seem to find the issue, maybe im stupid i dont know.
In response to busthar ():
Title explains all, ive doubled all the values in the data file, i attempt to reload the config and...
Last months update sounds right, i think its broken because of that, too bad, i need to delay the release of my server rip, oh well hopefully there will be a fix soon.
The function that throws the error is the one that adds new items to the data file. I haven't ran into this error on my server, so I suspect it might be a configuration error. If someone with this issue could post their config, that would help. 
Was getting the same error. It was a syntax issue in the data file. While editing it my friend removed half a line and erased a comma. I determined this by running it through a JSON syntax checker.
Editing post because it was a PEBCAK. Apologies for spamming the thread.
oil refinery's not stacking, plus like 10 different items.  idr them all rn but i can list them out if needed
Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StackSizeController.UpdateItems () [0x00048] in <1d3924e3a13440d3a5b6cffe9d541db2>:0
at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x0001d] in <1d3924e3a13440d3a5b6cffe9d541db2>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003f0] in <1d3924e3a13440d3a5b6cffe9d541db2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <33287985591c40d6983f0b8f0e915565>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <33287985591c40d6983f0b8f0e915565>:0
xMajorSavage
Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StackSizeController.UpdateItems () [0x00048] in <1d3924e3a13440d3a5b6cffe9d541db2>:0
at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x0001d] in <1d3924e3a13440d3a5b6cffe9d541db2>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003f0] in <1d3924e3a13440d3a5b6cffe9d541db2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <33287985591c40d6983f0b8f0e915565>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <33287985591c40d6983f0b8f0e915565>:0

See my previous message

5b92dc6886991.jpg CanopySheep
The function that throws the error is the one that adds new items to the data file. I haven't ran into this error on my server, so I suspect it might be a configuration error. If someone with this issue could post their config, that would help. 

I have a on load error, here. This is after updating plugin to latest

Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v2.0.3'
 (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StackSizeController.UpdateItems () [0x00048] in <c400424c131f
4f84a1a8eb535af82724>:0                                       
  at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x0001d] in <c400
424c131f4f84a1a8eb535af82724>:0
  at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, Syste
m.Object& ret, System.Object[] args) [0x003f0] in <c400424c131f4f84a1a8eb535af82
724>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
od, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[]
 args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] arg
My config was invalid. Deleting it solved it for me.