From what I see I'm guessing you don't wait for the Blizzard load-on-demand addon to load. Your best best is to find what addon, likely Blizzard_AzeriteEssenceUI, and perform your changes when the addon is loaded.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
|