Error: Call to undefined method Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor::addSortFilterParameters() in /var/www/html/dmties242/app/code/Smile/ElasticsuiteCatalog/Plugin/LayerPlugin.php:87
Stack trace:
#0 /var/www/html/dmties242/app/code/Smile/ElasticsuiteCatalog/Plugin/LayerPlugin.php(67): Smile\ElasticsuiteCatalog\Plugin\LayerPlugin->setSortParams(Object(MGS\Brand\Model\Layer\Brand\Interceptor), Object(Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor))
#1 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(121): Smile\ElasticsuiteCatalog\Plugin\LayerPlugin->beforePrepareProductCollection(Object(MGS\Brand\Model\Layer\Brand\Interceptor), Object(Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor))
#2 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): MGS\Brand\Model\Layer\Brand\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor))
#3 /var/www/html/dmties242/generated/code/MGS/Brand/Model/Layer/Brand/Interceptor.php(23): MGS\Brand\Model\Layer\Brand\Interceptor->___callPlugins('prepareProductC...', Array, Array)
#4 /var/www/html/dmties242/app/code/MGS/Brand/Model/Layer/Brand.php(17): MGS\Brand\Model\Layer\Brand\Interceptor->prepareProductCollection(Object(Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor))
#5 /var/www/html/dmties242/app/code/MGS/Brand/Block/Brand/Product/ListProduct.php(22): MGS\Brand\Model\Layer\Brand->getProductCollection()
#6 /var/www/html/dmties242/vendor/magento/module-catalog/Block/Product/ListProduct.php(200): MGS\Brand\Block\Brand\Product\ListProduct->_getProductCollection()
#7 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(1110): Magento\Catalog\Block\Product\ListProduct->_beforeToHtml()
#8 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#9 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#10 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml()
#11 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(138): MGS\Brand\Block\Brand\Product\ListProduct\Interceptor->___callParent('toHtml', Array)
#12 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): MGS\Brand\Block\Brand\Product\ListProduct\Interceptor->Magento\Framework\Interception\{closure}()
#13 /var/www/html/dmties242/generated/code/MGS/Brand/Block/Brand/Product/ListProduct/Interceptor.php(59): MGS\Brand\Block\Brand\Product\ListProduct\Interceptor->___callPlugins('toHtml', Array, Array)
#14 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(578): MGS\Brand\Block\Brand\Product\ListProduct\Interceptor->toHtml()
#15 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('brand.products....')
#16 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('brand.products....')
#17 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(522): Magento\Framework\View\Layout->renderElement('brand.products....', true)
#18 /var/www/html/dmties242/app/code/MGS/Brand/Block/Brand/View.php(69): Magento\Framework\View\Element\AbstractBlock->getChildHtml('product_list')
#19 [internal function]: MGS\Brand\Block\Brand\View->getProductListHtml()
#20 /var/www/html/dmties242/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array(Array, Array)
#21 /var/www/html/dmties242/app/code/MGS/Brand/view/frontend/templates/brand/view.phtml(6): Magento\Framework\View\TemplateEngine\Php->__call('getProductListH...', Array)
#22 /var/www/html/dmties242/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/d...')
#23 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(MGS\Brand\Block\Brand\View\Interceptor), '/var/www/html/d...', Array)
#24 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#25 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(MGS\Brand\Block\Brand\View\Interceptor), '/var/www/html/d...', Array)
#26 /var/www/html/dmties242/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#27 /var/www/html/dmties242/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(MGS\Brand\Block\Brand\View\Interceptor), '/var/www/html/d...', Array)
#28 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView('/var/www/html/d...')
#29 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(138): MGS\Brand\Block\Brand\View\Interceptor->___callParent('fetchView', Array)
#30 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): MGS\Brand\Block\Brand\View\Interceptor->Magento\Framework\Interception\{closure}('/var/www/html/d...')
#31 /var/www/html/dmties242/generated/code/MGS/Brand/Block/Brand/View/Interceptor.php(23): MGS\Brand\Block\Brand\View\Interceptor->___callPlugins('fetchView', Array, Array)
#32 /var/www/html/dmties242/vendor/magento/framework/View/Element/Template.php(303): MGS\Brand\Block\Brand\View\Interceptor->fetchView('/var/www/html/d...')
#33 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml()
#34 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#35 /var/www/html/dmties242/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#36 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml()
#37 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(138): MGS\Brand\Block\Brand\View\Interceptor->___callParent('toHtml', Array)
#38 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): MGS\Brand\Block\Brand\View\Interceptor->Magento\Framework\Interception\{closure}()
#39 /var/www/html/dmties242/generated/code/MGS/Brand/Block/Brand/View/Interceptor.php(32): MGS\Brand\Block\Brand\View\Interceptor->___callPlugins('toHtml', Array, Array)
#40 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(578): MGS\Brand\Block\Brand\View\Interceptor->toHtml()
#41 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('brand.products')
#42 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('brand.products')
#43 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('brand.products', false)
#44 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('content', false)
#45 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('content')
#46 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('content', false)
#47 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('main', false)
#48 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('main')
#49 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('main', false)
#50 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('columns', false)
#51 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('columns')
#52 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('columns', false)
#53 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('main.content', false)
#54 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('main.content')
#55 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('main.content', false)
#56 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false)
#57 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#58 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('page.wrapper', false)
#59 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('root', false)
#60 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('root')
#61 /var/www/html/dmties242/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout->renderElement('root')
#62 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput()
#63 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array)
#64 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}()
#65 /var/www/html/dmties242/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array)
#66 /var/www/html/dmties242/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput()
#67 /var/www/html/dmties242/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#68 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#69 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array)
#70 /var/www/html/dmties242/app/code/MGS/ThemeSettings/Plugin/ResultInterfaceAfter.php(53): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor))
#71 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(135): MGS\ThemeSettings\Plugin\ResultInterfaceAfter->aroundRenderResult(Object(Magento\Framework\View\Result\Page\Interceptor), Object(Closure), Object(Magento\Framework\App\Response\Http\Interceptor))
#72 /var/www/html/dmties242/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor))
#73 /var/www/html/dmties242/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(32): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, NULL)
#74 /var/www/html/dmties242/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#75 /var/www/html/dmties242/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch()
#76 /var/www/html/dmties242/pub/index.php(29): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#77 {main}