You have to change oUF and not the Layout.
Open oUF.lua and search for
Code:
-- Events
local OnEvent = function(self, event, ...)
if(not self:IsShown() and not self.__unit) then return end
self[event](self, event, ...)
end
change it to
Code:
-- Events
local OnEvent = function(self, event, ...)
if(not self:IsShown() and not self.__unit) then return end
if (self[event]) then
self[event](self, event, ...)
else
print(string.format('Object %s (%s) attempted to call event [%s], which has no handler.', tostring(self), tostring(self.unit), even))
end
end
That should fix the error