XF 1.2 I Cant create Poll ! :D.


Hello guys i cant create Poll - This error :

The following error occurred:
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 'WHERE user_id = 2' 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 215
  5. MyPoints_Model_Currency::updateUserPoints() in MyPoints/DataWriter/Poll.php at line 23
  6. MyPoints_DataWriter_Poll->_postSave() in XenForo/DataWriter.php at line 1397
  7. XenForo_DataWriter->save() in XenForo/ControllerPublic/Forum.php at line 688
  8. XenForo_ControllerPublic_Forum->actionAddThread() in XenForo/FrontController.php at line 337
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /var/www/gamlerum_cz/index.php at line 13


in memoriam 1991-2020
This is an issue with "MyPoints" add-on. Please post in your points add-on's thread.