Unknown LUA Error

[ERROR] lua/includes/extensions/table.lua:51: bad argument #1 to ‘pairs’ (table expected, got nil)

  1. pairs - [C]:-1
  2. Empty - lua/includes/extensions/table.lua:51
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:428
    4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
    5. unknown - lua/includes/modules/net.lua:31

How do I fix this?

show the code…

LINE 51 for k, v in pairs( tab ) do
LINE 428 table.Empty( xgui.data[datatype] )
LINE 22 fn( unpack( args, 1, max ) )
LINE 31 func( len, client )

Post the full code, we cannot figure out the source of the error from those lines alone.

Either you messed with default files, or your ULX is fucked up.

lua/includes/extensions/table.lua ==== http://pastebin.com/xCGnRkL1
addons/ulx/lua/ulx/modules/cl/xgui_client.lua ==== http://pastebin.com/rsCyxLuH
addons/ulib/lua/ulib/client/cl_util.lua ==== http://pastebin.com/WdyP5Nnu
lua/includes/modules/net.lua ==== http://pastebin.com/xCFf1Gre

this error is also being caused by that error…

[ERROR] addons/traitor kills/lua/autorun/client/cl_traitorkills.lua:23: bad argument #1 to ‘Format’ (string expected, got nil)

  1. Format - [C]:-1
  2. unknown - addons/traitor kills/lua/autorun/client/cl_traitorkills.lua:23

[editline]29th March 2014[/editline]

It happens whenever someone joins the server

[editline]29th March 2014[/editline]

It happens whenever someone joins the server

[editline]29th March 2014[/editline]

I never touched the default files.

omg :suicide: show us the cl_traitorkills.lua file