1228 Already in remote transaction state
Cause
This error occurs if a beginTransaction instruction is attempted on the server but a beginTransaction was already executed on the client without a commitTransaction instruction encountered on the client.
Action
Correct the portion of code in your application that resulted in the error.