Quote from KethoNot sure if that would be it, but you're redefining the db upvalue another 2 times on line 52 and 1509
I don't know much about modules though, or if it's supposed to be like that :s
Not seeing the db in line 52 and 1509. Here is the thing it gives me no error for my action bars module but it dos for all other modules. There all however set up the same way so it makes no sense.