Not really a bug but you have a duplicate function in UIParent.lua starting at line 911.
Lua Code:
function ToggleCommunitiesFrame()
Communities_LoadUI();
ToggleFrame(CommunitiesFrame);
end
function ToggleCommunitiesFrame()
Communities_LoadUI();
ToggleFrame(CommunitiesFrame);
end
PS: You also have FACTION_BAR_COLORS declared as a global in two locations. It can be found in ReputationFrame.lua and ReputationBar.lua.