XF 2.2 ErrorException: [E_WARNING] Attempt to read property "result_count" on null src/XF/Pub/Controller/Search.php:153

eL_

Well-known member
Sorry guys. I got like 7 pages of this error starting today. Can anyone help me with it?
Thank you.

Server error log
Code:
    ErrorException: [E_WARNING] Attempt to read property "result_count" on null src/XF/Pub/Controller/Search.php:153
    Generated by: Unknown account Oct 15, 2022 at 7:11 PM

Stack trace
Code:
#0 src/XF/Pub/Controller/Search.php(153): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/weplaypro...', 153)
#1 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#6 src/XF.php(524): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state
Code:
array(4) {
  ["url"] => string(20) "/search/519/?page=3/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["page"] => string(2) "3/"
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom