Broken Equipment Menu TTT?

Hey, I have a custom C-Equipment menu but I noticed recently that when some people opened it they would get an “attempt to call method ‘IsEquipment’ (a nil value)” error.
I’ve tried doing everything pretty much but can’t figure out how to fix it. Anyone have any ideas?

We would need to see code for IsEquipment and anything related to it.

You would need to give us some code so that we can look at it

This is the code used for IsEquipment, Thanks

   -- Determine if we already have equipment
   local owned_ids = {}
   for _, wep in pairs(ply:GetWeapons()) do
      if IsValid(wep) and wep:IsEquipment() then
         table.insert(owned_ids, wep:GetClass())

Do you have custom weps in the menu, if so make sure all weapons derive from the ttt weapon base

SWEP.Base = “weapon_tttbase”