1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice
  3. What happens when the XF 2.0 is out? See the discussion here: http://www.sonnb.com/threads/what-happens-when-xf-2-0-is-out.1146/
    Dismiss Notice

Fixed Mysqli Server Error

Discussion in 'Bug Reports' started by sgreefers, Jun 11, 2015.

  1. sgreefers

    sgreefers Authorized Member Authorized

    I had this server error that mentioned your add on. Might helping me find out the cause?


    Error info

    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'thread.discussion_state' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Sherman, Today at 7:54 AM


    Stack trace

    #0 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n\t\t\tSELECT COUN...')
    #1 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n\t\t\tSELECT COUN...')
    #2 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n\t\t\tSELECT COUN...')
    #3 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(825): Zend_Db_Adapter_Abstract->query('\n\t\t\tSELECT COUN...', Array)
    #4 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/Model/Log.php(379): Zend_Db_Adapter_Abstract->fetchOne('\n\t\t\tSELECT COUN...')
    #5 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/Model/Log.php(327): sonnbUpThread_Model_Log->countThread(57, Array, Array, '1')
    #6 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/ControllerPublic/UpThread.php(60): sonnbUpThread_Model_Log->getUserDailyCreatedThread(57)
    #7 /var/www/vhosts/sgreefers.com/httpdocs/library/XenForo/FrontController.php(347): sonnbUpThread_ControllerPublic_UpThread->actionIndex()
    #8 /var/www/vhosts/sgreefers.com/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 /var/www/vhosts/sgreefers.com/httpdocs/index.php(13): XenForo_FrontController->run()
    #10 {main}


    Request state

    array(3) {
    ["url"] => string(35) "Forum Web link "
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(0) {
    }
    }
     
  2. sonnb

    sonnb Administrator Staff Member

    Fixed.
     
    whynot likes this.

Share This Page