Jump to content

error spamming in console

Fixed 1.1.8 1.1.9

Colors
Colors

Posted

00:10 [Error] Failed to call hook 'CanAcceptItem' on plugin 'ZLogs v1.1.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ZLogs.CanAcceptItem (ItemContainer container, Item item, System.Int32 targetSlot) [0x00285] in <88feaa0cf59b43bba2fe58cf47508705>:0 
  at Oxide.Plugins.ZLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02252] in <88feaa0cf59b43bba2fe58cf47508705>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0 

keep spamming randomly

  • Like 1
Zeeuss

Posted

By any chance are you using StaticLootables?

Colors

Posted

7 minutes ago, Zeeuss said:

By any chance are you using StaticLootables?

nope

laceyblonde

Posted

On 7/13/2025 at 12:12 PM, Colors said:
00:10 [Error] Failed to call hook 'CanAcceptItem' on plugin 'ZLogs v1.1.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ZLogs.CanAcceptItem (ItemContainer container, Item item, System.Int32 targetSlot) [0x00285] in <88feaa0cf59b43bba2fe58cf47508705>:0 
  at Oxide.Plugins.ZLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02252] in <88feaa0cf59b43bba2fe58cf47508705>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0 

keep spamming randomly

I’ve been getting the same error as well 😕

Zeeuss

Posted

Hello, I am sorry, but since last week i was not able to code during week, will try to solve this this weekend. 🙂

  • Like 2
Zeeuss

Posted

On 7/21/2025 at 12:56 PM, Colors said:

@Zeeuss

high chance the item page goes empty
284164878_.png.6796e497e79b3ddb3a94d960297f3738.png

Any errors in console, when trying to view the Item category and it's empty?

Colors

Posted

On 8/3/2025 at 3:04 PM, Zeeuss said:

Also @Colors & @laceyblonde please add me on discord, so we can sort this asap 🙂
Discord: Zeeuss

added just now

Theswingingturtle

Posted (edited)

It's skinner plugin, everytime u skin something it appears.

Quick fix(WORKED FOR ME):
BEFORE:
else if (trg != null)
{
    //From container to player  
    //Puts($"[{ItemManager.FindItemDefinition(item.parent.GetEntityOwner().ShortPrefabName)?.displayName?.translated ?? item.parent.GetEntityOwner().ShortPrefabName} -> {trg.displayName}] {item.info.displayName.translated} moved");
    il.sourceEnt = ItemManager.FindItemDefinition(item.parent.GetEntityOwner().ShortPrefabName)?.displayName?.translated ?? item.parent.GetEntityOwner().ShortPrefabName;
    il.targetPl = trg.userID;
    il.logMessage = String.Format(lang.GetMessage("Log ItemMove", this, null), il.sourceEnt, trg.displayName, itemI);
    il.dropOrPick = TypeItem.MoveStP;
}

AFTER:

else if (trg != null)
{
    //From container to player
    var srcEnt = item.parent.GetEntityOwner();
    if (srcEnt != null)
    {
        il.sourceEnt = ItemManager.FindItemDefinition(srcEnt.ShortPrefabName)?.displayName?.translated ?? srcEnt.ShortPrefabName;
    }
    else
    {
        il.sourceEnt = "Unknown";
    }

    il.targetPl = trg.userID;
    il.logMessage = String.Format(lang.GetMessage("Log ItemMove", this, null), il.sourceEnt, trg.displayName, itemI);
    il.dropOrPick = TypeItem.MoveStP;
}

Edited by Theswingingturtle
Zeeuss

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 1.1.9

2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

142.5k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.