Searching in catalog serach with less than query min length, I am getting error in Magento 2:

#1 Magento\Framework\Data\Collection\AbstractDb->_renderFilters() called at [app/code/Mageplaza/LayeredNavigation/Model/ResourceModel/Fulltext/Collection.php:408]

#2 Mageplaza\LayeredNavigation\Model\ResourceModel\Fulltext\Collection->_renderFilters() called at [vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php:923]

#3 Magento\Eav\Model\Entity\Collection\AbstractCollection->load(false, false) called at [vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php:803]

#4 Magento\Catalog\Model\ResourceModel\Product\Collection->load(false, false) called at [vendor/magento/framework/Interception/Interceptor.php:58]

#5 Mageplaza\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor->___callParent('load', array(false, false)) called at [vendor/magento/framework/Interception/Interceptor.php:138]

#6 Mageplaza\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]

Any help is appreciated

  • and what is the actual error reported with this stack trace? – Barry Dec 3 '19 at 9:18
  • @Maruti_magento2 i am also getting this issue did you solve this ? – sumeet bajaj Feb 6 '20 at 12:15
  • no...i just keep it 1..and leave it..hence it not showing any error to users.. – Maruti_magento2 Feb 6 '20 at 13:08
  • @Maruti_magento2 but i think it is not a good way,there is a note " a low query length limit may cause the performance impact." – sumeet bajaj Feb 6 '20 at 13:25
  • yes..but showing error is not good ..then this is ok without error.... – Maruti_magento2 Feb 7 '20 at 8:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.