Getting this database error when thanks is clicked?
Code:
Database error in vBulletin 3.5.3:
Invalid SQL:
UPDATE user
SET post_thanks_thanked_times = 1 + post_thanks_thanked_times, post_thanks_thanked_posts = 1 + post_thanks_thanked_posts, reputation = $vboptions[post_thanks_reputation] + reputation
WHERE userid = 26;
MySQL Error : 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 '[post_thanks_reputation] + reputation
WHERE userid = 26' at line 2
Error Number : 1064
Date : Monday, February 13th 2006 @ 02:48:06 PM
Script : http://www.tech-tronix.com/showthread.php?do=post_thanks&p=3718
Referrer :
IP Address : xx.xx.xx.xxx
Username : Realist
Classname : xxxxxxxx
Any ideas?
Laters