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

Fixed Missing phrase causing error log

Discussion in 'Resolved Bug Reports' started by Floris, Mar 21, 2011.

  1. Floris

    Floris Guest

    phrase_cache is not in the system, fresh install 1 stable


    Server Error Log

    Error Info
    ErrorException: Argument 1 passed to XenForo_Phrase::setPhrases() must be an array, boolean given, called in /home/x/forum/library/XenForo/Visitor.php on line 412 and defined - library/XenForo/Phrase.php:310
    Generated By: Unknown Account, Today at 12:16 PM

    Stack Trace

    #0 /home/x/forum/library/XenForo/Phrase.php(310): XenForo_Application::handlePhpError(false) #1 /home/x/forum/library/XenForo/Visitor.php(412): XenForo_Phrase::setPhrases(false, Array) #2 /home/x/forum/library/XenForo/Session.php(199): XenForo_Visitor::setup(Object(Zend_Controller_Request_Http)) #3 /home/x/forum/library/XenForo/Controller.php(286): XenForo_Session::startPublicSession('Errornotfound') #4 /home/x/forum/library/XenForo/Controller.php(298): XenForo_Controller->_setupSession('Errornotfound') #5 /home/x/forum/library/XenForo/FrontController.php(309): XenForo_Controller->preDispatch(Object(XenForo_RouteMatch)) #6 /home/x/forum/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch() #7 /home/x/forum/index.php(17): XenForo_FrontController->run() #8 {main}

    Request State

    array(3) { ["url"] => string(31) "http://x/favicon.ico" ["_GET"] => array(0) { } ["_POST"] => array(0) { }
  2. Mike

    Mike XenForo Developer Staff Member

    I actually think that your phrase cache may have been corrupted for some bizarre reason. Regardless, I have changed the code to work around this.

Share This Page