Error adding addon entities to darkrp f4 tab

Well i have an addon called “J.I Defense Solution” ( and i want to add the turrets in the addon to the f4 menu, but when i add then buy it from f4, it start to make error and i cant access the turret’s menu anymore, so i really need someone to help me with this because this is very important for my sv:
Here the error, and i also try to make the entity my own not world ent but still the same error and it still work when spawned manually

[J.I. Defense Solutions] lua/includes/extensions/table.lua:94: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. HasValue - lua/includes/extensions/table.lua:94
    3. unknown - lua/entities/ent_jack_turret_base/init.lua:236