What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Reject User Registration Error With Xengallery

Discussion in 'XenGallery' started by dknife, May 12, 2015.

  1. dknife

    dknife YakTribe Gaming Authorized

    I'm getting this error when I try to reject a user registration that has been halted by StopForumSpam. If I disable XenGallery temporarily, the function works correctly. Accepting a user awaiting approval seems to work fine, only rejection is causing a problem.

    Code:
    mysqli_stmt::bind_param(): Number of variables doesn't match number of parameters in prepared statement
    
    XenForo_Application::handlePhpError()
    mysqli_stmt->bind_param()
    call_user_func_array() in Zend/Db/Statement/Mysqli.php at line 204
    Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 317
    Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in sonnb/XenGallery/Model/Album.php at line 1293
    sonnb_XenGallery_Model_Album->batchUpdateLikeUser() in sonnb/XenGallery/LikeHandler/Album.php at line 84
    sonnb_XenGallery_LikeHandler_Album->batchUpdateContentUser() in XenForo/Model/User.php at line 2829
    XenForo_Model_User->changeContentUser() in XenForo/DataWriter/User.php at line 1344
    XenForo_DataWriter_User->_postDelete() in WidgetFramework/XenForo/DataWriter/User.php at line 16
    WidgetFramework_XenForo_DataWriter_User->_postDelete() in sonnb/XenGallery/XenForo/DataWriter/User.php at line 53
    sonnb_XenGallery_XenForo_DataWriter_User->_postDelete() in XenForo/DataWriter.php at line 1779
    XenForo_DataWriter->delete() in XenForo/Model/UserConfirmation.php at line 179
    XenForo_Model_UserConfirmation->processUserModeration() in XenForo/ControllerAdmin/User.php at line 911
    XenForo_ControllerAdmin_User->actionModeratedUpdate() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/yaktribe/public_html/community/admin.php at line 13
     
  2. sonnb

    sonnb Administrator Staff Member

    What is your XenGallery version currently? I believe it is not the latest one.
     
  3. dknife

    dknife YakTribe Gaming Authorized

    Seems I was a couple of versions behind. Updating now and I'll see how it goes.
     
  4. sonnb

    sonnb Administrator Staff Member

    Please let me know if it works for you.
     

Share This Page