TypeError: Argument 2 passed to Mirasvit\SearchMysql\SearchAdapter\Mapper\Product\FilterMapper\StockStatusFilter::apply() must be of the type array or null, int given, called in /var/www/kasperstest.dev/public_html/vendor/mirasvit/module-search-ultimate/src/SearchMysql/SearchAdapter/Mapper/Product/FilterMapper/FilterMapper.php on line 64 and defined in /var/www/kasperstest.dev/public_html/vendor/mirasvit/module-search-ultimate/src/SearchMysql/SearchAdapter/Mapper/Product/FilterMapper/StockStatusFilter.php:58 Stack trace: #0 /var/www/kasperstest.dev/public_html/vendor/mirasvit/module-search-ultimate/src/SearchMysql/SearchAdapter/Mapper/Product/FilterMapper/FilterMapper.php(64): Mirasvit\SearchMysql\SearchAdapter\Mapper\Product\FilterMapper\StockStatusFilter->apply(Object(Magento\Framework\DB\Select), 1, 'general_filter', true) #1 /var/www/kasperstest.dev/public_html/vendor/mirasvit/module-search-ultimate/src/SearchMysql/SearchAdapter/Mapper/ProductIndexBuilder.php(56): Mirasvit\SearchMysql\SearchAdapter\Mapper\Product\FilterMapper\FilterMapper->applyFilters(Object(Mirasvit\SearchMysql\SearchAdapter\Mapper\Product\SelectContainer\SelectContainer)) #2 /var/www/kasperstest.dev/public_html/vendor/mirasvit/module-search-ultimate/src/SearchMysql/SearchAdapter/Mapper.php(71): Mirasvit\SearchMysql\SearchAdapter\Mapper\ProductIndexBuilder->build(Object(Magento\Framework\Search\Request)) #3 /var/www/kasperstest.dev/public_html/vendor/mirasvit/module-search-ultimate/src/SearchMysql/SearchAdapter/Adapter.php(54): Mirasvit\SearchMysql\SearchAdapter\Mapper->buildQuery(Object(Magento\Framework\Search\Request)) #4 /var/www/kasperstest.dev/public_html/vendor/magento/module-search/Model/SearchEngine.php(42): Mirasvit\SearchMysql\SearchAdapter\Adapter->query(Object(Magento\Framework\Search\Request)) #5 /var/www/kasperstest.dev/public_html/generated/code/Magento/Search/Model/SearchEngine/Interceptor.php(24): Magento\Search\Model\SearchEngine->search(Object(Magento\Framework\Search\Request)) #6 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Search/Search.php(85): Magento\Search\Model\SearchEngine\Interceptor->search(Object(Magento\Framework\Search\Request)) #7 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\Search\Search->search(Object(Magento\Framework\Api\Search\SearchCriteria)) #8 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Search\Model\Search\Interceptor->___callParent('search', Array) #9 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Search\Model\Search\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\Api\Search\SearchCriteria)) #10 /var/www/kasperstest.dev/public_html/generated/code/Magento/Search/Model/Search/Interceptor.php(26): Magento\Search\Model\Search\Interceptor->___callPlugins('search', Array, Array) #11 /var/www/kasperstest.dev/public_html/vendor/magento/module-catalog-search/Model/ResourceModel/Fulltext/Collection.php(465): Magento\Search\Model\Search\Interceptor->search(Object(Magento\Framework\Api\Search\SearchCriteria)) #12 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(343): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection->_renderFiltersBefore() #13 /var/www/kasperstest.dev/public_html/vendor/magento/module-catalog-search/Model/ResourceModel/Fulltext/Collection.php(583): Magento\Framework\Data\Collection\AbstractDb->_renderFilters() #14 /var/www/kasperstest.dev/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(923): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection->_renderFilters() #15 /var/www/kasperstest.dev/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(832): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false) #16 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false) #17 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->___callParent('load', Array) #18 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->Magento\Framework\Interception\{closure}() #19 /var/www/kasperstest.dev/public_html/generated/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/Interceptor.php(364): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->___callPlugins('load', Array, Array) #20 /var/www/kasperstest.dev/public_html/vendor/magento/module-catalog/Block/Product/ListProduct.php(205): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->load() #21 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1110): Magento\Catalog\Block\Product\ListProduct->_beforeToHtml() #22 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #23 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #24 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml() #25 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Block\Product\ListProduct\Interceptor->___callParent('toHtml', Array) #26 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Block\Product\ListProduct\Interceptor->Magento\Framework\Interception\{closure}() #27 /var/www/kasperstest.dev/public_html/generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php(884): Magento\Catalog\Block\Product\ListProduct\Interceptor->___callPlugins('toHtml', Array, Array) #28 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(566): Magento\Catalog\Block\Product\ListProduct\Interceptor->toHtml() #29 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('category.produc...') #30 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('category.produc...') #31 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('category.produc...') #32 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('category.produc...', true) #33 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(522): Magento\Framework\View\Layout\Interceptor->renderElement('category.produc...', true) #34 /var/www/kasperstest.dev/public_html/vendor/magento/module-catalog/Block/Category/View.php(100): Magento\Framework\View\Element\AbstractBlock->getChildHtml('product_list') #35 /var/www/kasperstest.dev/public_html/vendor/magento/module-catalog/view/frontend/templates/category/products.phtml(15): Magento\Catalog\Block\Category\View->getProductListHtml() #36 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/kasper...') #37 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Category\View), '/var/www/kasper...', Array) #38 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #39 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Catalog\Block\Category\View), '/var/www/kasper...', Array) #40 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array) #41 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Magento\Catalog\Block\Category\View), '/var/www/kasper...', Array) #42 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/var/www/kasper...') #43 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #44 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #45 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #46 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(566): Magento\Framework\View\Element\AbstractBlock->toHtml() #47 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('category.produc...') #48 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('category.produc...') #49 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('category.produc...') #50 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('category.produc...', false) #51 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('category.produc...', false) #52 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('content', false) #53 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content') #54 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') #55 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', false) #56 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('content', false) #57 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main', false) #58 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main') #59 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main') #60 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', false) #61 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('main', false) #62 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('columns', false) #63 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('columns') #64 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns') #65 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('columns', false) #66 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('columns', false) #67 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main.content', false) #68 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #69 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content') #70 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.content', false) #71 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false) #72 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('base-main-conta...', false) #73 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('base-main-conta...') #74 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('base-main-conta...') #75 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('base-main-conta...', false) #76 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('base-main-conta...', false) #77 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('base-main-conta...', false) #78 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('base-main-conta...') #79 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('base-main-conta...') #80 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('base-main-conta...', false) #81 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('base-main-conta...', false) #82 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('base-main-conta...', false) #83 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('base-main-conta...') #84 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('base-main-conta...') #85 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('base-main-conta...', false) #86 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('base-main-conta...', false) #87 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #88 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #89 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') #90 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #91 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) #92 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('root', false) #93 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root') #94 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') #95 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true) #96 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Layout.php(963): Magento\Framework\View\Layout\Interceptor->renderElement('root') #97 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #98 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #99 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #100 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #101 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #102 /var/www/kasperstest.dev/public_html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #103 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #104 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #105 /var/www/kasperstest.dev/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #106 /var/www/kasperstest.dev/public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #107 /var/www/kasperstest.dev/public_html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #108 /var/www/kasperstest.dev/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #109 /var/www/kasperstest.dev/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #110 {main}