Hi! After upgrading Xenforo and the Gallery, I am getting the following error, we thought it was a result of someone's phone continuing to try to upload pics that were too large for the parameters set in the permissions, but the errors continue:
Error Info
ErrorException: Undefined index: global_permission_cache - library/sonnb/XenGallery/Model/Gallery.php:114
Generated By: user redacted, Yesterday at 4:17 PM
Stack Trace
#0 /home/redacted/redacted.com/xenforo/library/sonnb/XenGallery/Model/Gallery.php(114): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/xx/...', 114, Array)
#1 /home/redacted/redacted.com/xenforo/library/sonnb/XenGallery/Model/Gallery.php(135): sonnb_XenGallery_Model_Gallery->canViewProfileCover(Array, Array)
#2 /home/redacted/redacted.com/xenforo/library/sonnb/XenGallery/XenForo/Model/ProfilePost.php(12): sonnb_XenGallery_Model_Gallery->canManageProfileCover(Array, Array)
#3 /home/redacted/redacted.com/xenforo/library/XenForo/ControllerPublic/ProfilePost.php(223): sonnb_XenGallery_XenForo_Model_ProfilePost->getProfilePostViewParams(Array, Array)
#4 /home/redacted/redacted.com/xenforo/library/XenForo/ControllerPublic/ProfilePost.php(19): XenForo_ControllerPublic_ProfilePost->actionShow()
#5 /home/redacted/redacted.com/xenforo/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_ProfilePost->actionIndex()
#6 /home/redacted/redacted.com/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/redacted/redacted.com/xenforo/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
["url"] => string(184) "
http://redacted/xenforo/profile-posts/410/?&_xfRequestUri=/xenforo/&_xfNoRedirect=1&_xfToken=10,1416615418,ffbf5c7e2d8e6bfd03c084bc3434badb322f0876&_xfResponseType=json"
["_GET"] => array(4) {
["_xfRequestUri"] => string(9) "/xenforo/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(54) "10,1416615418,ffbf5c7e2d8e6bfd03c084bc3434badb322f0876"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
How do I fix this?