sirinsidiator / ESO-LibAddonMenu

http://www.esoui.com/downloads/info7-LibAddonMenu.html
Artistic License 2.0
41 stars 20 forks source link

attempt to index a nil value #121

Closed dermatzeimnetz closed 3 years ago

dermatzeimnetz commented 4 years ago

See Screenshot

grafik

I know that this might be caused from another Pluding "LuiExtended", still, is it possible to "try catch" the exception?

sirinsidiator commented 4 years ago

From the error message it looks like you are using an outdated version of LibAddonMenu bundled inside the MiniMap addon. Try to install the latest version from ESOUI separately.

dermatzeimnetz commented 4 years ago

TY very much for your effort and your very fast answer. Regarding your hint, i use Minion to install them my Addons, and it is the very last version here: grafik

Baertram commented 4 years ago

And delete the bundled LAM version from the MiniMap folder at best so it won't be loaded anymore! Maybe it was called from the addon's txt file by hardcoded lines like /libs/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/editbox.lua ... /libs/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua

Remove these lines and replace them via this entry: ## DependsOn: LibAddonMenu-2.0>=31

And tell the addon author of the minimap (or the bundled addon LUI e.g.) to update the libraries, include them with their txt files OR remove them from the addon's subfolders!

He can read all the information about it here: https://www.esoui.com/forums/showthread.php?t=8765&highlight=LibStub and here: https://wiki.esoui.com/Libraries#Providing_libraries_.28standalone_.2F_bundled_with_addon.2C_but_how.3F.29

sirinsidiator commented 4 years ago

I've just checked and the MiniMap addon still embeds LAMr26 the old way, which is likely why you get that issue even when you install it separately. Simply deleting the MiniMap/LibAddonMenu-2.0 folder should do the trick.