You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''d7fd118e6f226a71b5f1ffe10efd0a78', NOW()) ON DUPLICATE KEY UPDATE updated_at=NO' at line 1