NullReferenceException at AddHotelPanelFixed

Loaded the latest version of the plugin. I do have the latest HumanNPC(and dependencies), and Zone Manager, but I get this error in my console:

Hotel and ZoneManager were compiled successfully in 2191ms
Unloaded plugin Zone Manager v3.0.23 by k1lly0u
[DEBUG] Hotel plugin is waiting for requirements to be loaded: ZoneManager
Loaded plugin Zone Manager v3.0.23 by k1lly0u
Failed to initialize plugin 'Hotel v2.0.13' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Hotel.AddHotelPanel () [0x00030] in <0f727d54707546ebb3ec69299bad934b>:0 
  at Oxide.Plugins.Hotel.InfoPanelInit () [0x00028] in <0f727d54707546ebb3ec69299bad934b>:0 
  at Oxide.Plugins.Hotel.Loaded () [0x00020] in <0f727d54707546ebb3ec69299bad934b>:0 
  at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0009c] in <0f727d54707546ebb3ec69299bad934b>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <60c318df79ed41688ea59335e48d61ad>:0 
Unloaded plugin Hotel v2.0.13 by Shady14u
No previous version to rollback plugin: Hotel

are you using InfoPanel? I added a check to be sure InfoPanel is available in that method 2.0.14 should resolve this.. I am planning on a release prior to Dec 2 which is a complete re-work of all the current fuctions but this shoudl resolve what you saw above.. Regards

Thanks for getting back to me so fast. Yes, InfoPanel is deployed on the server. I uploaded 2.0.14 just now and I still get an error. Update: I gotta get with the server owner today. I believe his InfoPanel was modded and that may be the issue. 

Hotel and ZoneManager were compiled successfully in 2092ms
Unloaded plugin Zone Manager v3.0.23 by k1lly0u
[DEBUG] Hotel plugin is waiting for requirements to be loaded: ZoneManager
Loaded plugin Zone Manager v3.0.23 by k1lly0u
Failed to initialize plugin 'Hotel v2.0.14' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Hotel.AddHotelPanel () [0x00040] in <57e66122574145c4a27cda5f33df3621>:0 
  at Oxide.Plugins.Hotel.InfoPanelInit () [0x00028] in <57e66122574145c4a27cda5f33df3621>:0 
  at Oxide.Plugins.Hotel.Loaded () [0x00020] in <57e66122574145c4a27cda5f33df3621>:0 
  at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0009c] in <57e66122574145c4a27cda5f33df3621>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <60c318df79ed41688ea59335e48d61ad>:0 
Unloaded plugin Hotel v2.0.14 by Shady14u
No previous version to rollback plugin: Hotel​

If your panel is missing the "TopLeftDock" that may be the issue.. I think you can edit the panel in the hotel config or directly in the infoPanel "3rd party panels".. I just rewrote the entire mod recently to give full language and config support so the way the panel will be made is different. The next version will change all the files so you cant upgrade active hotels. I hope to release prior to Dec 2 Forced WIpe.. If you want to reach out to me on discord I can get you working without Info Panel or check your panel config for you

You should be checking for plugin dependencies in OnServerInitialized or later, not Loaded. Because InfoPanel loads first, it will always be null on server startup if checked in Loaded. 

@Wulf thank you.. I will make that change.. That should not be causing thier issue though.. I suspect the panel is missing or the config for the panel is missing to be added.. because the call is being made so Info panel is loaded..

Locked automatically