Try to remove the chat_system function (comment it) and see if it's related to the chat output.
Decomment line for line or change the variable contents to simple values (like "hello") and see if this changes anything.
From the code snippet we are not able to find this error. We'd need the whole addon code to test it and "debug".
Did you turn off all other addons and the error will occur too?
|