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 ''3e89ebdb49f712c7d90d1b39e348bbbf', NOW()) ON DUPLICATE KEY UPDATE updated_at=NO' at line 1