phanx-wow / oUF_Phanx

WoW AddOn — oUF unit frames with many PvE-oriented features and a few options.
Other
5 stars 4 forks source link

Can't dismiss pet from unit frame menu #19

Closed Technojo01 closed 6 years ago

Technojo01 commented 8 years ago

Happened on my lvl 78 hunter in Gundrak. Thanks.

`1x [ADDON_ACTION_FORBIDDEN] AddOn 'oUF_Phanx' tried to call the protected function 'CastSpellByID()'. !BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573> [C]:: in function 'CastSpellByID' FrameXML\UnitPopup.lua:1714: in function 'func' FrameXML\UIDropDownMenu.lua:787: in function 'UIDropDownMenuButton_OnClick'

Phanx commented 8 years ago

Can you be more specific? What were you doing when the error occurred? If you were trying to dismiss your pet, how were you doing that? From the right-click menu on the pet frame? By clicking an action button? By pressing a key bound to a macro? (If a macro is involved, please post the actual macro as well.) Does the error occur every time you do the same thing? Does it occur when all other addons are disabled?

Technojo01 commented 8 years ago

It was from the right-click menu on the pet frame. Will do more tests tonight but it seems to happens all the time and it is the same error every time.

Technojo01 commented 8 years ago

Can confirm. Happens all the time using only oUF and your layout. I was in the hunter order hall.

Infoblip commented 6 years ago

This continues to happen with ver: 7.3.5.1 of this layout. In dalaran, went to dismiss pet and got the action forbidden error message. Had to disable to dismiss pet.

Phanx commented 6 years ago

Probably fixed in 29b3d23. Grab the latest Frames.lua (link), save it over the one in the addon folder, and let me know if you still get this error when attempting to dismiss your pet.