This is better to avoid the error:
Lua Code:
local function temporaryBugFix()
hooksecurefunc(_G.ClassNameplateManaBarFrame, "Show", function(self) self:Hide() end);
hooksecurefunc(_G.DeathKnightResourceOverlayFrame, "Show", function(self) self:Hide() end);
end