Quote from LombraPost all of your code. That code would never have done anything, as all you do is define a function.
Edit: Also, make sure you load out of date addons. That setting is reset on each patch.
sorry it was an xml that loads it:
<Ui xmlns="<a href="http://www.blizzard.com/wow/ui/" rel="noopener nofollow" target="_blank">http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
and you were right, and now I feel like a complete moron :(
Thank you and sorry to waste your time :(