View Single Post
03-20-13, 04:09 AM   #1
MiRai
A Warpwood Thunder Caller
Join Date: Jul 2011
Posts: 96
5.2 Unitframe Lua Error

Cross-posting this from the WoW UI & Macro forum: http://us.battle.net/wow/en/forum/topic/8198643316


When attempting to invite someone into my party I get the following error:

Code:
Message: Interface\FrameXML\RestrictedExecution.lua:397: Call failed: Interface\FrameXML\RestrictedFrames.lua:659: Invalid snippet body
Time: 03/20/13 03:16:09
Count: 1
Stack: [C]: ?
Interface\FrameXML\RestrictedExecution.lua:397: in function <Interface\FrameXML\RestrictedExecution.lua:390>
(tail call): ?
Interface\FrameXML\SecureGroupHeaders.lua:116: in function <Interface\FrameXML\SecureGroupHeaders.lua:110>
Interface\FrameXML\SecureGroupHeaders.lua:166: in function <Interface\FrameXML\SecureGroupHeaders.lua:123>
Interface\FrameXML\SecureGroupHeaders.lua:488: in function <Interface\FrameXML\SecureGroupHeaders.lua:387>
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:100: in function <Interface\FrameXML\SecureStateDriver.lua:95>
Interface\FrameXML\SecureStateDriver.lua:127: in function <Interface\FrameXML\SecureStateDriver.lua:119>

Locals: (*temporary) = "Call failed: Interface\FrameXML\RestrictedFrames.lua:659: Invalid snippet body"

When they accept the invite both players are then hit with this one (and the count is non-stop):

Code:
Message: Interface\AddOns\oUF_Fail\core.lua:485: Wrong object type for member function
Time: 03/20/13 03:17:08
Count: 257
Stack: [C]: ?
[C]: ?
Interface\FrameXML\RestrictedFrames.lua:604: in function <Interface\FrameXML\RestrictedFrames.lua:603>
Interface\FrameXML\RestrictedFrames.lua:742: in function `CallMethod'
[string "		local header = self:GetParent()..."]:52: in function <[string "		local header = self:GetParent()..."]:1>
(tail call): ?
[C]: ?
Interface\FrameXML\RestrictedExecution.lua:441: in function <Interface\FrameXML\RestrictedExecution.lua:412>
Interface\FrameXML\SecureGroupHeaders.lua:116: in function <Interface\FrameXML\SecureGroupHeaders.lua:110>
Interface\FrameXML\SecureGroupHeaders.lua:166: in function <Interface\FrameXML\SecureGroupHeaders.lua:123>
Interface\FrameXML\SecureGroupHeaders.lua:488: in function `SecureGroupHeader_Update'
Interface\FrameXML\SecureGroupHeaders.lua:71: in function <Interface\FrameXML\SecureGroupHeaders.lua:66>
[C]: in function `SetAttribute'
Interface\FrameXML\SecureStateDriver.lua:101: in function <Interface\FrameXML\SecureStateDriver.lua:95>
Interface\FrameXML\SecureStateDriver.lua:127: in function <Interface\FrameXML\SecureStateDriver.lua:119>

Locals: <none>

Here is a snippet from core.lua of oUF_Fail:

Code:
-- The Shared Style Function for Party and Raid
local GroupGlobalStyle = function(self, unit)

	self.menu = lib.spawnMenu
	self:RegisterForClicks('AnyDown')

	-- Call Unit Specific Styles
	if(UnitSpecific[unit]) then
		return UnitSpecific[unit](self)
	end
end

Line 485:

Code:
self:RegisterForClicks('AnyDown')

Here is a link to the entire core.lua file if it's required:
Code:
http://pastebin.com/Efnjez1M


I'm sure it's a quick and easy fix, but I just got back into the game since 5.2 and was suddenly hit with this. I then realized there was an oUF update, but that didn't change anything. Thanks in advance.
  Reply With Quote