In the luaevent.lua script file, there is an attempt to set the '__mode' attribute of to 'kv' in order to enable automatic collection for luaevent elements, however the syntax is wrong:
setmetatable({}, {'__mode', 'kv'})
should be
setmetatable({}, {__mode = 'kv'})
Upon review, this part of the system needs rework.