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