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/

Forum Errors After The 2.3.1 Upgrade

Discussion in 'XenGallery' started by NaNa, May 18, 2015.

  1. NaNa

    NaNa Member

    Dear @sonnb ,

    Unfortunately our forum throws an error after the recent 2.3.1 upgrade thus we cant access forum/client side anymore.
    It only happens for logged in users.

    On the admin side the following server errors received (and repeated every minute or so):

    1. Undefined index: library/sonnb/XenGallery/ModerationQueueHandler/Album.php:51
    2. array_column() expects parameter 1 to be array, null: library/XenForo/Application.php:1229
    Full log for #1:
    Code:
    ErrorException: Undefined index: contents - library/sonnb/XenGallery/ModerationQueueHandler/Album.php:51
    
    
    Stack Trace
    
    #0 /library/sonnb/XenGallery/ModerationQueueHandler/Album.php(51): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/csamclub/...', 51, Array)
    #1 /library/XenForo/Model/ModerationQueue.php(148): sonnb_XenGallery_ModerationQueueHandler_Album->getVisibleModerationQueueEntriesForUser(Array, Array)
    #2 /library/XenForo/Model/ModerationQueue.php(110): XenForo_Model_ModerationQueue->getVisibleModerationQueueEntriesForUser(Array, NULL)
    #3 /library/XenForo/ControllerPublic/Abstract.php(429): XenForo_Model_ModerationQueue->getModerationQueueCountForUser()
    #4 /library/XenForo/ControllerPublic/Abstract.php(364): XenForo_ControllerPublic_Abstract->_updateModeratorSessionModerationCounts()
    #5 /library/XenForo/ControllerPublic/Abstract.php(30): XenForo_ControllerPublic_Abstract->_updateModeratorSessionCaches()
    #6 /library/XenForo/Controller.php(310): XenForo_ControllerPublic_Abstract->_preDispatchType('Index')
    #7 /library/XenForo/FrontController.php(346): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
    #8 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 /index.php(13): XenForo_FrontController->run()
    #10 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(19) "http://csamclub.hu/"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }
    
    Full log for #2
    Code:
    Error Info
    ErrorException: array_column() expects parameter 1 to be array, null given - library/XenForo/Application.php:1229
    Stack Trace
    
    #0 [internal function]: XenForo_Application::handlePhpError(2, 'array_column() ...', '/home/csamclub/...', 1229, Array)
    #1 /library/XenForo/Application.php(1229): array_column(NULL, 'thumbnailUrl', NULL)
    #2 /library/sonnb/XenGallery/ModerationQueueHandler/Album.php(51): XenForo_Application::arrayColumn(NULL, 'thumbnailUrl')
    #3 /library/XenForo/Model/ModerationQueue.php(148): sonnb_XenGallery_ModerationQueueHandler_Album->getVisibleModerationQueueEntriesForUser(Array, Array)
    #4 /library/XenForo/Model/ModerationQueue.php(110): XenForo_Model_ModerationQueue->getVisibleModerationQueueEntriesForUser(Array, NULL)
    #5 /library/XenForo/ControllerPublic/Abstract.php(429): XenForo_Model_ModerationQueue->getModerationQueueCountForUser()
    #6 /library/XenForo/ControllerPublic/Abstract.php(364): XenForo_ControllerPublic_Abstract->_updateModeratorSessionModerationCounts()
    #7 /library/XenForo/ControllerPublic/Abstract.php(30): XenForo_ControllerPublic_Abstract->_updateModeratorSessionCaches()
    #8 /library/XenForo/Controller.php(310): XenForo_ControllerPublic_Abstract->_preDispatchType('Index')
    #9 /library/XenForo/FrontController.php(346): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
    #10 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #11 /index.php(13): XenForo_FrontController->run()
    #12 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(19) "http://csamclub.hu/"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }
    
    Thanks in advance...
     
  2. sonnb

    sonnb Administrator Staff Member

    Hello NaNa,

    I have sent you the updated package. Please upload new files. This happens because you have some albums in moderation before upgrade to 2.3.1 which will make them miss some information.
     
  3. NaNa

    NaNa Member

    Thanks for the quick fix @sonnb ,

    all works fine now... :)
     
    sonnb likes this.

Share This Page