Glass

Glass

73.6k Downloads

LUA error when combined with Leatrix Plus

Nillx opened this issue ยท 5 comments

commented

Im using Leatrix Plus and decided to install Glass today. Now im getting this error:

1x Leatrix_Plus\Leatrix_Plus-8.3.34.lua:5080: Usage: HookScript(object, method, [handler]): 'object' - nil or table expected got string
[string "=[C]"]: ?
[string "@Bartender4\libs\AceHook-3.0\AceHook-3.0-8.lua"]:130: in function <...eBartender4\libs\AceHook-3.0\AceHook-3.0.lua:118>
[string "@Bartender4\libs\AceHook-3.0\AceHook-3.0-8.lua"]:367: in function `HookScript'
[string "@Leatrix_Plus\Leatrix_Plus-8.3.34.lua"]:5080: in function `?'
[string "@Leatrix_Plus\Leatrix_Plus-8.3.34.lua"]:8408: in function <Leatrix_Plus\Leatrix_Plus.lua:7976>

Locals:
(*temporary) = "Usage: HookScript(object, method, [handler]): 'object' - nil or table expected got string"

I reported to Leatrix but im not sure which addon is actually causing it.

commented

It's strange because that error log doesn't show any references to Glass. Are you sure it's Glass causing the issues and not Leatrix Plus itself?

Also, I'm also using Details and have not encountered issues so far.

commented

Nice! Thanks for working to debug that. I'll make sure to note this on the README and the CurseForge page for other users.

commented

Im not getting that error when im using other chat addons like Prat or BasicChatMods. Only when Glass is enabled.

Firstly i reported this issue to Leatrix and this was his response: "From the error, it seems to be caused by 'Recent chat window' ('Chat'). However, I'm not seeing this error."

I think i found what was causing the issue. For some reason i was unable to turn off Recent chat window in Leatrix plus when Glass was enabled.
image

First i disabled Glass
Then i was able to turn off Recent chat window option
After that i enabled Glass again with LTP
Im no longer getting that error, even after moving the chat around and reloading.

commented

"Use easy resizing" option is also causing issues. Dont use it.

commented

I've noted this down on the README and the CurseForge page so I think we're good here!