Advance search results pagination not working on Elasticsearch

Issue: All search results products shown in stead of 12/24/36 and pagination not useful working. Solution for 2.3.5, edit: vendor/magento/module-catalog-search/Model/ResourceModel/Advanced/Collection.php change function to public function _loadEntities($printQuery = false, $logQuery = false) { $this->getEntity(); $currentSearchEngine = $this->_scopeConfig->getValue(self::SEARCH_ENGINE_VALUE_PATH); //var_dump($currentSearchEngine); if ($this->_pageSize && ($currentSearchEngine === EngineResolver::CATALOG_SEARCH_MYSQL_ENGINE || $currentSearchEngine == ‘elastic’)) { $this->getSelect()->limitPage($this->getCurPage(), $this->_pageSize); } $this->printLogQuery($printQuery, $logQuery);

Read More

Magento 2: Indexer stuck at processing

Update: This problem starts whenever the cron catalogrule_apply_all is launched. For some reason it is locking indexer_reindex_all_invalid Whatever you try: ALWAYS BACK UP DB FIRST. The problem I ran into a problem on a Magento 2 website where one of the indexers got stuck in a loop of processing. It took me quite a while […]

Read More

Magento 2 upgrade errors when using Redis cache

Maybe they have fixed it in the meantime, but upgrading the core Magento 2 failed with a lot of errors, when making use of Redis cache. Which, I must say, is a performance booster. So, to prevent that, before upgrading the Magento 2 core, type in: redis-cli FLUSHALL on the command line before upgrading and […]

Read More