View Single Post
03/26/23, 05:01 PM   #22
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 247
Originally Posted by Baertram View Post
Seriously, you should please follow the rules like all others too.
If you get any error message:

1. Post the whole error message so we can see the error message AND the line numbers AND the exapanded variables from the error mesasge
2. Post your code or at least the code block around the lines of the error message WITH line numbers or at least the line number where the error message hits

We cannot assume things nor do we like to and I personally often do not understand what you alk about in your poasted code lines (what should "on editing the text field in the setting panel just below it." relate to in your posted code )

Many thanks for easing it for us all.

I also posted yuteh "how to read lua error messages" before already so maybe read the info there and learn to read the error messages, or ask questions about the error mesasges in detail so we can explain it to you better. You often, especially for nil errors, find out what's up if you understand the error messages and learn them, instead of ignoring them They tell you what is missing by the error text like "try to index a nil value" -> you got a table which is nil and try to access it somehow before it was created properly with = {}, etc.
OK relax I'll do my best to provide.. Is there maybe a better place to ask addon questions? You tell me you dont like to or have time to answer personal messages and then jump on my forum posts as if they were directed to you personally. Exuse me I'm not a professional and doin my best!

ERRORS: ill add to bottom of my post as well so they close and handy for all to see and add the codes lines!
Code:
user:/AddOns/MyAddon/MyAddon.lua:248: attempt to index a nil value
stack traceback:
user:/AddOns/MyAddon/MyAddon.lua:248: in function 'MyAddon.SavePlayer'
user:/AddOns/MyAddon/MyAddon.lua:242: in function 'OnSelect'
/EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:476: in function 'ZO_Menu_ClickItem'
user:/AddOns/LibCustomMenu/LibCustomMenu.lua:604: in function 'MouseUp'

Last edited by sinnereso : 03/26/23 at 05:17 PM.
  Reply With Quote