TypeError: Argument 1 passed to Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeProvider::getByAttributeCode() must be of the type string, null given, called in /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch/SearchAdapter/Query/Builder/Sort.php on line 92 and defined in /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch/Model/Adapter/FieldMapper/Product/AttributeProvider.php:73
Stack trace:
#0 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch/SearchAdapter/Query/Builder/Sort.php(92): Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeProvider->getByAttributeCode(NULL)
#1 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch/Elasticsearch5/SearchAdapter/Query/Builder.php(94): Magento\Elasticsearch\SearchAdapter\Query\Builder\Sort->getSort(Object(Magento\Framework\Search\Request))
#2 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch/Elasticsearch5/SearchAdapter/Mapper.php(66): Magento\Elasticsearch\Elasticsearch5\SearchAdapter\Query\Builder->initQuery(Object(Magento\Framework\Search\Request))
#3 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch-7/SearchAdapter/Mapper.php(40): Magento\Elasticsearch\Elasticsearch5\SearchAdapter\Mapper->buildQuery(Object(Magento\Framework\Search\Request))
#4 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-elasticsearch-7/SearchAdapter/Adapter.php(113): Magento\Elasticsearch7\SearchAdapter\Mapper->buildQuery(Object(Magento\Framework\Search\Request))
#5 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-search/Model/SearchEngine.php(42): Magento\Elasticsearch7\SearchAdapter\Adapter->query(Object(Magento\Framework\Search\Request))
#6 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Search/Search.php(85): Magento\Search\Model\SearchEngine->search(Object(Magento\Framework\Search\Request))
#7 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-catalog-search/Model/ResourceModel/Fulltext/Collection.php(465): Magento\Framework\Search\Search->search(Object(Magento\Framework\Api\Search\SearchCriteria))
#8 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Data/Collection/AbstractDb.php(343): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection->_renderFiltersBefore()
#9 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-catalog-search/Model/ResourceModel/Fulltext/Collection.php(583): Magento\Framework\Data\Collection\AbstractDb->_renderFilters()
#10 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(926): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection->_renderFilters()
#11 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php(833): Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false)
#12 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false)
#13 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->___callParent('load', Array)
#14 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->Magento\Framework\Interception\{closure}()
#15 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/Interceptor.php(23): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->___callPlugins('load', Array, Array)
#16 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Data/Collection.php(839): Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->load()
#17 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-catalog/Block/Product/ListProduct.php(147): Magento\Framework\Data\Collection->getIterator()
#18 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Helper/Data.php(1431): Magento\Catalog\Block\Product\ListProduct->getLoadedProductCollection()
#19 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Helper/Data.php(1242): Anowave\Ec\Helper\Data->getLoadedCollection(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor))
#20 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(212): Anowave\Ec\Helper\Data->getImpressionPushForward(Object(Anowave\Ec\Block\Track\Interceptor))
#21 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/view/frontend/templates/impression.phtml(1): Anowave\Ec\Block\Track->getImpressionPushForward()
#22 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/domains/up...')
#23 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Anowave\Ec\Block\Track\Interceptor), '/var/domains/up...', Array)
#24 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#25 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Anowave\Ec\Block\Track\Interceptor), '/var/domains/up...', Array)
#26 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#27 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Anowave\Ec\Block\Track\Interceptor), '/var/domains/up...', Array)
#28 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView('/var/domains/up...')
#29 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Anowave\Ec\Block\Track\Interceptor->___callParent('fetchView', Array)
#30 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Anowave\Ec\Block\Track\Interceptor->Magento\Framework\Interception\{closure}('/var/domains/up...')
#31 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Anowave/Ec/Block/Track/Interceptor.php(23): Anowave\Ec\Block\Track\Interceptor->___callPlugins('fetchView', Array, Array)
#32 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/Template.php(303): Anowave\Ec\Block\Track\Interceptor->fetchView('/var/domains/up...')
#33 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(393): Magento\Framework\View\Element\Template->_toHtml()
#34 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(356): Anowave\Ec\Block\Track->_toHtml()
#35 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(359): Anowave\Ec\Block\Track->Anowave\Ec\Block\{closure}()
#36 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(675): Anowave\Ec\Block\Track->_loadCache()
#37 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml()
#38 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Anowave\Ec\Block\Track\Interceptor->___callParent('toHtml', Array)
#39 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Anowave\Ec\Block\Track\Interceptor->Magento\Framework\Interception\{closure}()
#40 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Anowave/Ec/Block/Track/Interceptor.php(32): Anowave\Ec\Block\Track\Interceptor->___callPlugins('toHtml', Array, Array)
#41 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Layout.php(578): Anowave\Ec\Block\Track\Interceptor->toHtml()
#42 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('ec_impressions')
#43 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('ec_impressions')
#44 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(522): Magento\Framework\View\Layout->renderElement('ec_impressions', true)
#45 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/view/frontend/templates/purchase.phtml(185): Magento\Framework\View\Element\AbstractBlock->getChildHtml('ec_impressions')
#46 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/domains/up...')
#47 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Anowave\Ec\Block\Track\Interceptor), '/var/domains/up...', Array)
#48 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#49 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Anowave\Ec\Block\Track\Interceptor), '/var/domains/up...', Array)
#50 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#51 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Anowave\Ec\Block\Track\Interceptor), '/var/domains/up...', Array)
#52 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView('/var/domains/up...')
#53 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Anowave\Ec\Block\Track\Interceptor->___callParent('fetchView', Array)
#54 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Anowave\Ec\Block\Track\Interceptor->Magento\Framework\Interception\{closure}('/var/domains/up...')
#55 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Anowave/Ec/Block/Track/Interceptor.php(23): Anowave\Ec\Block\Track\Interceptor->___callPlugins('fetchView', Array, Array)
#56 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/Template.php(303): Anowave\Ec\Block\Track\Interceptor->fetchView('/var/domains/up...')
#57 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(393): Magento\Framework\View\Element\Template->_toHtml()
#58 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(356): Anowave\Ec\Block\Track->_toHtml()
#59 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/app/code/Anowave/Ec/Block/Track.php(359): Anowave\Ec\Block\Track->Anowave\Ec\Block\{closure}()
#60 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(675): Anowave\Ec\Block\Track->_loadCache()
#61 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml()
#62 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Anowave\Ec\Block\Track\Interceptor->___callParent('toHtml', Array)
#63 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Anowave\Ec\Block\Track\Interceptor->Magento\Framework\Interception\{closure}()
#64 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Anowave/Ec/Block/Track/Interceptor.php(32): Anowave\Ec\Block\Track\Interceptor->___callPlugins('toHtml', Array, Array)
#65 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Layout.php(578): Anowave\Ec\Block\Track\Interceptor->toHtml()
#66 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('ec_purchase')
#67 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('ec_purchase')
#68 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(526): Magento\Framework\View\Layout->renderElement('ec_purchase', true)
#69 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/module-theme/view/frontend/templates/html/container.phtml(7): Magento\Framework\View\Element\AbstractBlock->getChildHtml()
#70 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/domains/up...')
#71 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Framework\View\Element\Template\Interceptor), '/var/domains/up...', Array)
#72 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#73 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\View\Element\Template\Interceptor), '/var/domains/up...', Array)
#74 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#75 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Magento\Framework\View\Element\Template\Interceptor), '/var/domains/up...', Array)
#76 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView('/var/domains/up...')
#77 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Element\Template\Interceptor->___callParent('fetchView', Array)
#78 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Element\Template\Interceptor->Magento\Framework\Interception\{closure}('/var/domains/up...')
#79 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/Framework/View/Element/Template/Interceptor.php(23): Magento\Framework\View\Element\Template\Interceptor->___callPlugins('fetchView', Array, Array)
#80 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template\Interceptor->fetchView('/var/domains/up...')
#81 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml()
#82 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#83 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#84 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml()
#85 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Element\Template\Interceptor->___callParent('toHtml', Array)
#86 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Element\Template\Interceptor->Magento\Framework\Interception\{closure}()
#87 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/Framework/View/Element/Template/Interceptor.php(32): Magento\Framework\View\Element\Template\Interceptor->___callPlugins('toHtml', Array, Array)
#88 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Result/Page.php(251): Magento\Framework\View\Element\Template\Interceptor->toHtml()
#89 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#90 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#91 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array)
#92 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor))
#93 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(23): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array)
#94 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#95 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch()
#96 /var/domains/updatesportdirect-update.sportdirect.com/application/releases/16/pub/nl/index.php(63): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#97 {main}