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

Anthony Parsons

Well-known member
Affected version
2.2.10
Code:
Server error log
ErrorException: [E_WARNING] Attempt to read property "result_count" on null src/XF/Pub/Controller/Search.php:153
Generated by: Unknown account Jul 18, 2022 at 2:59 PM
Stack trace
#0 src/XF/Pub/Controller/Search.php(153): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/nginx/dom...', 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
array(4) {
  ["url"] => string(15) "/search/703325/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/search/703325/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Code:
Server environment report
You have the recommended PHP version.
PHP version    8.0.18
MySQL version    10.4.24 (10.4.24-MariaDB)
Server software    nginx/1.19.3
PHP memory_limit    384M
PHP post_max_size    384M
PHP upload_max_filesize    384M
PHP max_input_vars    10000
PHP max_execution_time    60
cURL version    7.29.0
cURL SSL version    NSS/3.53.1
OpenSSL version    OpenSSL 1.0.2k 26 Jan 2017
Suhosin enabled    No
Imagick support    Yes
EXIF support    Yes
GZip support    Yes
mbstring support    Yes
gmp support    Yes
ZipArchive support    Yes
 
Back
Top Bottom