ULX is broken after update (TTT)

So Gmod recently got updated.
And with the update came A LOT of bugs.
But one of the problems I couldn’t find a solution to anywhere, was that ulx is simply broken.
Everybody lost their ranks, adverts are not working anymore, the round doesn’t even start unless I restart it (Untill then everybody is stuck in spectator mode), autopromote isn’t working and I can’t edit any rank’s permissions.
Here are the errors I’m getting (There’s a bunch of 'em):


[ERROR] gamemodes/terrortown/gamemode/corpse.lua:166: attempt to compare number with nil
1. bitsRequired - gamemodes/terrortown/gamemode/corpse.lua:166
2. ShowSearch - gamemodes/terrortown/gamemode/corpse.lua:251
3. unknown - gamemodes/terrortown/gamemode/player.lua:427
4. unknown - lua/includes/modules/concommand.lua:69


[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27: attempt to index field 'crowbar_unlocks' (a nil value)
1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27
2. CleanUpMap - [C]:-1
3. CleanUp - gamemodes/terrortown/gamemode/init.lua:383
4. unknown - gamemodes/terrortown/gamemode/init.lua:466


[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:20: attempt to index field 'crowbar_unlocks' (a nil value)
1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:20
2. CleanUpMap - [C]:-1
3. CleanUp - gamemodes/terrortown/gamemode/init.lua:383
4. unknown - gamemodes/terrortown/gamemode/init.lua:466


[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:24: attempt to index field 'crowbar_unlocks' (a nil value)
1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:24
2. CleanUpMap - [C]:-1
3. CleanUp - gamemodes/terrortown/gamemode/init.lua:383
4. unknown - gamemodes/terrortown/gamemode/init.lua:466


[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27: attempt to index field 'crowbar_unlocks' (a nil value)
1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27
2. CleanUpMap - [C]:-1
3. CleanUp - gamemodes/terrortown/gamemode/init.lua:383
4. unknown - gamemodes/terrortown/gamemode/init.lua:466



[[ULX] Autopromote] lua/ulx/xgui/server/sv_apromote.lua:47: attempt to index upvalue 'APromote' (a nil value)
1. getData - lua/ulx/xgui/server/sv_apromote.lua:47
2. sendDataTable - addons/ulx/lua/ulx/modules/xgui_server.lua:154
3. unknown - addons/ulx/lua/ulx/modules/xgui_server.lua:74
4. unknown - addons/ulx/lua/ulx/modules/xgui_server.lua:53
5. unknown - lua/includes/modules/concommand.lua:69

I don’t see how the first output has anything to do with ULX?
Try removing APromote and see if ULX is still not working.

That’s the thing.
There is no Apromote file (There should be, but it disappeared after the update)

If you have restarted your server and it still happens, it’s there.
You may not be able to find it if it’s a workshop addon you’ve subscribed to.

Update ULX: https://github.com/Nayruden/Ulysses

Remove any crappy ULX modules / addons that you are using and see if it works

We’ve already fixed a few bugs with banning and voteban, so yes, do be sure to update.

The occasional/random losing ranks issue is proving difficult to track, but you can follow our progress here: (I need people to help me test!)
https://github.com/Nayruden/Ulysses/issues/302