Fixed Method XenForo_Template_Public::__toString() must not throw an exception

alfa1

Well-Known Member
ErrorException: Fatal Error: Method XenForo_Template_Public::__toString() must not throw an exception, caught TypeError: Argument 1 passed to XenForo_Template_Helper_Core::helperAvatarHtml() must be of the type array, null given, called /library/XenForo/Template/Helper/Core.php on line 853 - internal_data/templates/S.4,L.1,search_results.php:0
Generated By: Alfa, A moment ago

Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(80) "https://my-forum.com/search/307026/?q=news&t=team&o=relevance&c[title_only]=1"
["_GET"] => array(4) {
["q"] => string(4) "news"
["t"] => string(4) "team"
["o"] => string(9) "relevance"
["c"] => array(1) {
["title_only"] => string(1) "1"
}
}
["_POST"] => array(0) {
}
}

XF 1.5.15a
XFES
ES Essentials: https://xenforo.com/community/resources/elasticsearch-essentials.4801/
ES Improvements: https://xenforo.com/community/resources/enhanced-search-improvements.4762/
 
I did not have required add-ons. Can you give full stack of errors there?
 
Same error without Elastic Search Essentials.
I think its the combination of XFES officvial search addon and Nobita groups.
 
Back
Top