The line you're looking for is,
Caused by: com.inductiveautomation.ignition.client.gateway_interface.GatewayException:
SQL error for UPDATE Actividades.Machine_ledger SET Check = ? WHERE Row = ?":
Incorrect syntax near the keyword 'Check'.
(I had to use OCR to extract the error message so there may be errors in it. Tip: post text - not pictures of errors or code. When posting code format it properly. See link below.)
It looks like you are expecting a column 'Check' but the database doesn't have one.