I am not sure if this is the right place to post this so please move it accordingly if required so.

I am getting an error for some of the games, error like this
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
endTime = 1227714436, gameDuration = 1227714436, memberIp = '116.15.170.189'' at line 3
File: /home/letstalk/public_html/Sources/Subs-Arcade.php
Line: 710
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
Executed the upgrade.php and still no difference, the same error still occur whenever you try to submit the score for the game.
Now the weirder thing is, the scores despite receiving an error like the above are saved!
So I would really appreciate if someone can help me out, if you need me to provide any more things, just let me know.
Thanks!