View Single Post
01-29-21, 03:59 AM   #3
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
First of all enable Lua errors. And step by step resolve them.
Lua Code:
  1. /console scriptErrors 1
A good interface for Lua errors is Bugsack/Buggrabber.

Take a look at line 9
Lua Code:
  1. icon:Register("MyLDB", myLDB, savedVarTable)
Nothing in that line is declared before used. When removed your addon loads (if the used libs are provided) and the button shows up.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote