- Affected version
- 2.2.8
Error happens during web upgrade from 2.2.7 to 2.2.8, but only once.
Using PHP 8.0.13
Using PHP 8.0.13
PHP:
Server error log
ErrorException: [E_WARNING] Undefined array key "sessionActivityOptimized" src/XF/Repository/SessionActivity.php:125
Generated by: Unknown account Dec 3, 2021 at 4:25 AM
Stack trace
#0 src/XF/Repository/SessionActivity.php(125): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/nginx/dom...', 125)
#1 src/XF/Pub/Controller/AbstractController.php(84): XF\Repository\SessionActivity->updateSessionActivity(0, '54.36.148.108', 'XF\\Pub\\Controll...', 'Index', Array, 'valid', 'ahrefs')
#2 src/XF/Pub/Controller/AbstractController.php(44): XF\Pub\Controller\AbstractController->updateSessionActivity('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#3 src/XF/Mvc/Controller.php(289): XF\Pub\Controller\AbstractController->postDispatchType('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#4 src/XF/Mvc/Dispatcher.php(385): XF\Mvc\Controller->postDispatch('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(XFMG\XF\Pub\Controller\Thread), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFMG\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#9 src/XF.php(512): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(83) "/threads/title.450070/page-37"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/threads/title_450070/page-37"] => string(0) ""
}
["_POST"] => array(0) {
}
}