- Affected version
- 2.0.2
Any ideas what could cause this?
Server error log
#0 src/XF/Pub/Controller/AbstractController.php(132): XF\Pub\Controller\AbstractController->getRequestIpConstraintCached(false, 'isIpBanned')
#1 src/XF/Pub/Controller/AbstractController.php(15): XF\Pub\Controller\AbstractController->assertIpNotBanned()
#2 src/XF/Mvc/Controller.php(117): XF\Pub\Controller\AbstractController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Index', 'Index', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Index), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(1) "/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Server error log
- TypeError: Argument 1 passed to XF\Pub\Controller\AbstractController::getRequestIpConstraintCached() must be of the type array, boolean given, called in /home/sitename/public_html/src/XF/Pub/Controller/AbstractController.php on line 132
- src/XF/Pub/Controller/AbstractController.php:350
- Generated by: Unknown account
- Feb 17, 2018 at 4:14 PM
#0 src/XF/Pub/Controller/AbstractController.php(132): XF\Pub\Controller\AbstractController->getRequestIpConstraintCached(false, 'isIpBanned')
#1 src/XF/Pub/Controller/AbstractController.php(15): XF\Pub\Controller\AbstractController->assertIpNotBanned()
#2 src/XF/Mvc/Controller.php(117): XF\Pub\Controller\AbstractController->preDispatchType('Index', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Controller->preDispatch('Index', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Index', 'Index', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Index), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(1) "/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}