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 ' topicid= WHERE sessionID='404a9f61135c5e33d002f3fd97350b8f'' at line 1 UPDATE CF_session SET username='', userid=0, userstatus=1, time=1781084558, typelieu='TOP', forumid=, topicid= WHERE sessionID='404a9f61135c5e33d002f3fd97350b8f'