Search Improvements

Search Improvements 2.15.9

No permission to download
The add-on breaks search functionality for guests. You need to log out and search something, it will not load.
 
The add-on breaks search functionality for guests. You need to log out and search something, it will not load.
Yup happening to me as well.

There seems to some issue with this addon and XF 2.3. When i was searching as a guest user it was leading all search request to an infinite redirect loop. Disabling this fixed that issue!.
 
this
Code:
InvalidArgumentException: Accessed unknown getter 'sv_default_search_order' on XF:UserOption[0] src/XF/Mvc/Entity/Entity.php:213

Code:
#0 src/XF/Mvc/Entity/Entity.php(119): XF\Mvc\Entity\Entity->get('sv_default_sear...')
#1 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(266): XF\Mvc\Entity\Entity->__get('sv_default_sear...')
#2 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(152): SV\ElasticSearchEssentials\Service\AutoCompleter->setSort('user_option')
#3 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(144): SV\ElasticSearchEssentials\Service\AutoCompleter->setupDefaults()
#4 src/XF/Container.php(276): SV\ElasticSearchEssentials\Service\AutoCompleter->__construct(Object(XF\Pub\App), [invalid], Array)
#5 src/XF/App.php(1723): XF\Container->createObject('SV\\ElasticSearc...', Array)
#6 src/XF/Container.php(234): XF\App->XF\{closure}('SV\\ElasticSearc...', Array, Object(XF\Container))
#7 src/XF/App.php(3163): XF\Container->create('service', 'SV\\ElasticSearc...', Array)
#8 src/XF.php(901): XF\App->service('SV\\ElasticSearc...', [invalid], Array)
#9 src/addons/SV/StandardLib/Helper.php(229): XF::service('SV\\ElasticSearc...', [invalid], Array)
#10 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(124): SV\StandardLib\Helper::service('SV\\ElasticSearc...', [invalid], Array)
#11 src/addons/SV/ElasticSearchEssentials/Service/SimilarContentFinder.php(94): SV\ElasticSearchEssentials\Service\AutoCompleter::get([invalid], Array)
#12 src/XF/Container.php(276): SV\ElasticSearchEssentials\Service\SimilarContentFinder->__construct(Object(XF\Pub\App), Object(SV\ElasticSearchEssentials\XF\Entity\Forum), Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#13 src/XF/App.php(1723): XF\Container->createObject('SV\\ElasticSearc...', Array)
#14 src/XF/Container.php(234): XF\App->XF\{closure}('SV\\ElasticSearc...', Array, Object(XF\Container))
#15 src/XF/App.php(3163): XF\Container->create('service', 'SV\\ElasticSearc...', Array)
#16 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(116): XF\App->service('SV\\ElasticSearc...', Object(SV\ElasticSearchEssentials\XF\Entity\Forum), Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#17 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(94): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarContentFinderSvcForEss(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#18 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(75): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarThreadIdsFromEss(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#19 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(55): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarThreadFromEss(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#20 src/addons/XFES/Widget/SimilarThreads.php(61): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarThreadsCache(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#21 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(38): XFES\Widget\SimilarThreads->render()
#22 internal_data/code_cache/widgets/_41_xfes_thread_view_below_quick_reply_similar_threads.php(5): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->render()
#23 src/XF/Template/Templater.php(7729): XF\SubContainer\Widget->{closure}(Object(SV\WarningImprovements\XF\Template\Templater), Array, Array)
#24 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#25 src/XF/Template/Templater.php(1940): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#26 internal_data/code_cache/templates/l9/s14/public/thread_view.php(1771): XF\Template\Templater->widgetPosition('sv_thread_view_...', Array)
#27 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(SV\WarningImprovements\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#28 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('thread_view', Array, true, NULL)
#29 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:thread_v...', Array)
#30 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#31 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#32 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#33 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#34 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#35 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#36 src/XF.php(524): XF\App->run()
#37 index.php(20): XF::runApp('XF\\Pub\\App')
#38 {main}


and this

Code:
TypeError: Error rendering widget: SV\ElasticSearchEssentials\Service\AutoCompleter::setOrder(): Argument #1 ($order) must be of type string, null given, called in /home/findozornet/public_html/forum/src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php on line 266 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php:283
Code:
#0 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(266): SV\ElasticSearchEssentials\Service\AutoCompleter->setOrder(NULL)
#1 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(152): SV\ElasticSearchEssentials\Service\AutoCompleter->setSort('user_option')
#2 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(144): SV\ElasticSearchEssentials\Service\AutoCompleter->setupDefaults()
#3 src/XF/Container.php(276): SV\ElasticSearchEssentials\Service\AutoCompleter->__construct(Object(XF\Pub\App), [invalid], Array)
#4 src/XF/App.php(1723): XF\Container->createObject('SV\\ElasticSearc...', Array)
#5 src/XF/Container.php(234): XF\App->XF\{closure}('SV\\ElasticSearc...', Array, Object(XF\Container))
#6 src/XF/App.php(3163): XF\Container->create('service', 'SV\\ElasticSearc...', Array)
#7 src/XF.php(901): XF\App->service('SV\\ElasticSearc...', [invalid], Array)
#8 src/addons/SV/StandardLib/Helper.php(229): XF::service('SV\\ElasticSearc...', [invalid], Array)
#9 src/addons/SV/ElasticSearchEssentials/Service/AutoCompleter.php(124): SV\StandardLib\Helper::service('SV\\ElasticSearc...', [invalid], Array)
#10 src/addons/SV/ElasticSearchEssentials/Service/SimilarContentFinder.php(94): SV\ElasticSearchEssentials\Service\AutoCompleter::get([invalid], Array)
#11 src/XF/Container.php(276): SV\ElasticSearchEssentials\Service\SimilarContentFinder->__construct(Object(XF\Pub\App), Object(SV\ElasticSearchEssentials\XF\Entity\Forum), Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#12 src/XF/App.php(1723): XF\Container->createObject('SV\\ElasticSearc...', Array)
#13 src/XF/Container.php(234): XF\App->XF\{closure}('SV\\ElasticSearc...', Array, Object(XF\Container))
#14 src/XF/App.php(3163): XF\Container->create('service', 'SV\\ElasticSearc...', Array)
#15 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(116): XF\App->service('SV\\ElasticSearc...', Object(SV\ElasticSearchEssentials\XF\Entity\Forum), Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#16 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(94): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarContentFinderSvcForEss(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#17 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(75): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarThreadIdsFromEss(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#18 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(55): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarThreadFromEss(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#19 src/addons/XFES/Widget/SimilarThreads.php(61): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->getSimilarThreadsCache(Object(SV\ElasticSearchEssentials\XF\Entity\Thread))
#20 src/addons/SV/ElasticSearchEssentials/XFES/Widget/SimilarThreads.php(38): XFES\Widget\SimilarThreads->render()
#21 internal_data/code_cache/widgets/_41_xfes_thread_view_below_quick_reply_similar_threads.php(5): SV\ElasticSearchEssentials\XFES\Widget\SimilarThreads->render()
#22 src/XF/Template/Templater.php(7729): XF\SubContainer\Widget->{closure}(Object(SV\WarningImprovements\XF\Template\Templater), Array, Array)
#23 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#24 src/XF/Template/Templater.php(1940): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#25 internal_data/code_cache/templates/l9/s14/public/thread_view.php(1771): XF\Template\Templater->widgetPosition('sv_thread_view_...', Array)
#26 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(SV\WarningImprovements\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#27 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('thread_view', Array, true, NULL)
#28 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:thread_v...', Array)
#29 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#30 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#31 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#32 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#33 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#34 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#35 src/XF.php(524): XF\App->run()
#36 index.php(20): XF::runApp('XF\\Pub\\App')
#37 {main}
appeared once after the update from 2.15.4 on 2.2.16
 
This can briefly happen during upgrading an addon, but if it reoccurs; Make sure you don't have an _output folder for either add-ons, it will break if you upload a .zip which has a _data folder.
 
The latest zip is 2.15.8, I just download the copy here to check and verified the version id in the addon.json is correct
 
Back
Top Bottom