NullReferenceException at CanUseCommandSolved
Failed to call hook 'CustomCommand' on plugin 'CustomChatCommands v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)

Please provide the full error from the logs.

please try turning it on and off

jyNnV4dBOYxE5pV.png Wulf

Please provide the full error from the logs.

 

13:55 [Error] Failed to call hook 'CustomCommand' on plugin 'CustomChatCommands v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CustomChatCommands.CanUseCommand (System.UInt64 userID, System.String commandName) [0x0007a] in <a8d9e781b7a0490b83d0aaaf239d3f08>:0

at Oxide.Plugins.CustomChatCommands.CustomCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x0003d] in <a8d9e781b7a0490b83d0aaaf239d3f08>:0

at Oxide.Plugins.CustomChatCommands.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00326] in <a8d9e781b7a0490b83d0aaaf239d3f08>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

It appears the error is likely with your stored data or configuration being corrupt. Please verify those using a site such as http://www.jsonlint.com.

i told him that 😄

Fq5F8PjEizE9wKs.png Wulf

It appears the error is likely with your stored data or configuration being corrupt. Please verify those using a site such as http://www.jsonlint.com.

hope u been good anyway

o5j7dtUbMWF9TlO.png Wulf

It appears the error is likely with your stored data or configuration being corrupt. Please verify those using a site such as http://www.jsonlint.com.

The stored data json file for CustomChatCommands only has "null" inside of it.

Also, I deleted the data file and deletd my config file and reloaded the plugin. It fails even with the default commands - same error.

nU9XxVFlxdpHfyW.jpg mic773

The stored data json file for CustomChatCommands only has "null" inside of it.

Also, I deleted the data file and deletd my config file and reloaded the plugin. It fails even with the default commands - same error.

i have sent u the files via discord hope it fixes it

I completely deleted the plugin, verified my installation, redownloaded the latest oxide and the problem persists.

nU9XxVFlxdpHfyW.jpg mic773

I completely deleted the plugin, verified my installation, redownloaded the latest oxide and the problem persists.

Any data files would have to be removed to fix the issue, or fixed. Deleting the plugin won't fix the issue if the data is still there.

YiXTNrAiOn1hZL7.png Wulf

Any data files would have to be removed to fix the issue, or fixed. Deleting the plugin won't fix the issue if the data is still there.

I completely deleted all json files as well as the plugin's CS file (4 in total). Am I missing anything else?

nU9XxVFlxdpHfyW.jpg mic773

I completely deleted all json files as well as the plugin's CS files (4 in total). Am I missing anything else?

Before or after you removed the plugin?

QRhqb8x9GQcg3bd.png Wulf

Before or after you removed the plugin?

I was sure I deleted the CS first and then the json files, but I guess I didn't since I just tried it again and it worked. Thanks!

Locked automatically