• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Error when voting in a poll

sitwi

Active member
#1
My users (and I) are getting this error when voting in a poll on my site:


Mysqli prepare 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 '' at line 3
  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in MyPoints/Model/Currency.php at line 232
  5. MyPoints_Model_Currency::updateUserPoints() in MyPoints/Model/Poll.php at line 13
  6. MyPoints_Model_Poll->voteOnPoll() in XenForo/ControllerPublic/Thread.php at line 1216
  7. XenForo_ControllerPublic_Thread->actionPollVote() in XenForo/FrontController.php at line 310
  8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  9. XenForo_FrontController->run() in /homepages/20/d204998416/htdocs/SoN/index.php at line 13
I have a few add-ons but very limited XF knowledge to be able to decipher this message. WOuld anyone be kind enough to help, please?

A list of my Add-ons:

Cliptheapex.com's Countdown Timer 1.0.1
Digital Point Spy 1.0.5
ForumRunner for XenForo 1.1.3
Member List Manager 1.1
MyPoints 1.0.5
Notifications - powered by Gritter 1.3
Online Status 1.1
Post Ratings 1.3.1
Recent Posts Sidebar 1.0
Sportsbook 1.0.0
Stock Trader 1.0.0 Beta5
Template Modification System 1.2
The Happy Place 3.0.0
Thread Starter 1.0.1
User titles based on posts instead of trophy points 1.0.0
Xen-TR.com Who Has Visited 2.5.1
[8wayRun.Com] XenCarta (Wiki) 1.3.7
[8wayRun.Com] XenPorta (Portal) 1.5.3
[bd] Forum Watch 1.0.1
[xfr] User Albums 1.0.0 b7

And the site: www.SpursOrNothing.co.uk

Really appreciate anybody's time and help :)
 

Jake Bunce

XenForo moderator
Staff member
#2
MyPoints is named in the error. Try disabling that addon. If that fixes the error then you need to contact the author of that addon.