Update the add-on, that appears to be from a very old version.Hello. I am having problems with the addon on xf v2.2.13
- XF2.3.8 compatibility fix
- Adjust
Collect search DSL & debug statisticsso Log & show on search results only displays to members by defaults and not guests.
I just downloaded the update you uploaded and this was from after thatUpdate the add-on, that appears to be from a very old version.
Please post the actual stack trace and not a truncated screenshot of it, and when reporting please include what version of the add-on it is with.I just downloaded the update you uploaded and this was from after that
select content_type,field_value,addon_id
from xf_content_type_field
where field_name = 'search_handler_class' and content_type in ('conversation','conversation_message');
Please post the actual stack trace and not a truncated screenshot of it, and when reporting please include what version of the add-on it is with.
Do you have Conversation Improvements installed? Or did you uninstall it at some point.
Can you run this SQL query? I need to see the search types list for your site.
SQL:select content_type,field_value,addon_id from xf_content_type_field where field_name = 'search_handler_class' and content_type in ('conversation','conversation_message');
No rows.Please do a rebuild of the add-on, this should re-add the missing rowsI can however see that something like that exists
View attachment 332772
- Improve XF Cloud support
- Fix sorting by a custom elasticsearch field didn't work as expected when using
SearchOrderclass (ie Report Improvements and sorting reports by comment count)
indexing.index_time_in_millis and indexing.index_total the average is being computed very simply but it is using the XF number formatting which truncates the decimal places.{{ parens(phrase('xfes_x_milliseconds_average', {'time': number($esStats.indexing.index_time_in_millis / $esStats.indexing.index_total)})) }}
number() to include some decimal places.
- Require StandardLib v1.23.0+
- php 8.4+ compatibility fixes
- Fix Ticket's reply-count range search criteria into search page didn't work
- Ensure injecting participants search for Tickets keeps working if the macro syntax is updated
- Compatibility update for upcoming Content Ratings v2.9.0+
- Workaround "Maximum writeset size exceeded" SQL error when pruning search results
- Add
Maximum number of search/find new results for guestsoption
- Initialized to the same value as "Maximum number of search/find new results"
ErrorException: {"sort":["_score",{"date":"desc"}],"docvalue_fields":[{"field":"discussion_id"},{"field":"user"},{"field":"date"}],"_source":false,"size":8,"query":{"bool":{"filter":[{"terms":{"type":["conversation","resource","thread","xfmg_album","xfmg_media"]}}],"must_not":[{"bool":{"filter":{"terms":{"type":["conversation","conversation_message"]}},"must_not":{"bool":{"filter":[{"term":{"active_recipients":1}}],"must_not":[]}}}}],"must":[{"function_score":{"query":{"multi_match":{"type":"bool_prefix","query":"ha","fields":["title_suggest","title_suggest._2gram","title_suggest._3gram"],"minimum_should_match":"2<80%","fuzziness":"AUTO","prefix_length":1}},"functions":[{"exp":{"date":{"origin":1781128526,"decay":0.5,"scale":31536000}}}]}}]}}} src/XF/Error.php:81
Generiert von: Holger 10. Juni 2026 um 23:55
Stack-Trace
#0 src/XF.php(270): XF\Error->logError('{"sort":["_scor...', false)
#1 src/addons/SV/SearchImprovements/XFES/Elasticsearch/Api.php(49): XF::logError('{"sort":["_scor...')
#2 src/addons/XFES/Search/Source/Elasticsearch.php(885): SV\SearchImprovements\XFES\Elasticsearch\Api->search(Array)
#3 src/addons/SV/SearchImprovements/Search/ExecuteSearchWrapper.php(32): XFES\Search\Source\Elasticsearch->executeSearch(Object(SV\SearchImprovements\XF\Search\Query\KeywordQuery), Array, 8)
#4 src/addons/XFES/Search/Source/Elasticsearch.php(242): SV\SearchImprovements\XFES\Search\Source\Elasticsearch->executeSearch(Object(SV\SearchImprovements\XF\Search\Query\KeywordQuery), Array, 8)
#5 src/XF/Search/Search.php(260): XFES\Search\Source\Elasticsearch->autoComplete(Object(SV\SearchImprovements\XF\Search\Query\KeywordQuery), 8)
#6 src/XF/Search/Search.php(375): XF\Search\Search->{closure:XF\Search\Search::autoComplete():258}(Object(SV\SearchImprovements\XF\Search\Query\KeywordQuery), 8)
#7 src/XF/Search/Search.php(255): XF\Search\Search->executeSearch(Object(SV\SearchImprovements\XF\Search\Query\KeywordQuery), 8, Object(Closure), true)
#8 src/XF/Pub/Controller/SearchController.php(317): XF\Search\Search->autoComplete(Object(SV\SearchImprovements\XF\Search\Query\KeywordQuery), 8)
#9 src/XF/Mvc/Dispatcher.php(362): XF\Pub\Controller\SearchController->actionAutoComplete(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'AutoComplete', Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\SearchPatchFirst), NULL)
#11 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SearchImprovements\XF\Pub\Controller\SearchPatchFirst), NULL)
#12 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#14 src/XF.php(814): XF\App->run()
#15 index.php(23): XF::runApp('XF\\Pub\\App')
#16 {main}
Status der Anfrage
array(4) {
["url"] => string(21) "/search/auto-complete"
["referrer"] => string(34) "https://xxx/"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["keywords"] => string(2) "ha"
["c"] => array(1) {
["users"] => string(0) ""
}
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(1) "/"
}
}
Löschen
Disable the "Log search DSL" option.There seem to be problems with OpenSearch version 3.7.0.
- Update for StandardLib v1.24.0+ support (not required)
- Add "Only show posts in member's recent content" (default to true, XF 2.3.8+ default behavior)
We use essential cookies to make this site work, and optional cookies to enhance your experience.