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