Quote from scotsmanjc
to call global 'APLive_OnUpdate' (a nil value)
It's complaining because you don't have a function APLive_OnUpdate defined in your lua file. Also, you can't have two APLiveFrame_OnEvent functions defined. You should just combine those two into one function.