View Single Post
11-05-18, 06:52 PM   #4
Lyak
A Cyclonian
Join Date: Jul 2018
Posts: 46
Aight, just decided change the structure.

Instead of nameplates being created on NAME_PLATE_CREATED, I decided to create certain amount of nameplates on ADDON_LOADED which will no longer cry for

Lua Code:
  1. [ADDON_ACTION_BLOCKED] AddOn '<AddOnName>' tried to call the protected function 'SecureStateDriverManager:SetAttribute()'.

this error.

So, the current concern is

Lua Code:
  1. Frame <FrameName1>: Unknown script element OnClick
  2. Frame <FrameName2>: Unknown script element OnClick
  3. Frame <FrameName3>: Unknown script element OnClick
  4. Frame <FrameName4>: Unknown script element OnClick
  5. Frame <FrameName5>: Unknown script element OnClick
  6. Frame <FrameName6>: Unknown script element OnClick
  7. Frame <FrameName7>: Unknown script element OnClick
  8. Frame <FrameName8>: Unknown script element OnClick
  9. Frame <FrameName9>: Unknown script element OnClick
  10. Frame <FrameName10>: Unknown script element OnClick

Seriously... what are they?

I thought it was crying because it doesn't have an assigned OnClick script and so I actually gave an empty OnClick script

Lua Code:
  1. frame:SetScript("OnClick", function(self, button, down)
  2.            
  3. end);

then it starts to toss me the following.

Lua Code:
  1. frame doesn't have a "OnClick" script

I've been searching for the solution on google and the only result that I got was from those Z-perl (or X-perl) users reporting such issue and I couldn't really find the answer
  Reply With Quote