zekinah / magento2-AdvancedSortby

A Magento 2 Extension that custom the Sort by in Product Grid and List
8 stars 3 forks source link

Extension is no longer supported in Magento 2.4.X #2

Open paragpadsumbiya opened 3 years ago

paragpadsumbiya commented 3 years ago

Hello

Thanks for amazing extension but now as we are upgrading site to Magento 2.4.2 this extension is not supported as when we go to the category pages there are no products are showing. As we checked log its throws error as below

report.ERROR: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_asc] in order to sort on","index_uuid":"VlM8u4ojTBWe-FPn9sILrQ","index":"plum_magento2_product_1_v11"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"plum_magento2_product_1_v11","node":"ysbglH4FRhOjYL5CKhahnw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_asc] in order to sort on","index_uuid":"VlM8u4ojTBWe-FPn9sILrQ","index":"plum_magento2_product_1_v11"}}]},"status":400} [] [] [2021-06-02 10:04:10] report.ERROR: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_asc] in order to sort on","index_uuid":"VlM8u4ojTBWe-FPn9sILrQ","index":"plum_magento2_product_1_v11"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":

[{"shard":0,"index":"plum_magento2_product_1_v11","node":"ysbglH4FRhOjYL5CKhahnw","reason":{"type":"query_shard_exception","reason":"No mapping found for [position_asc] in order to sort on","index_uuid":"VlM8u4ojTBWe-FPn9sILrQ","index":"plum_magento2_product_1_v11"}}]},"status":400} [] []

so look like your extension is not supported with elastic search which is introduce in Magento 2.4 . So will it be possible for you to make the extension compatible with Magento 2.4.X ?

xtremevision commented 2 years ago

Same here. It is broken if using ElasticSearch. An alternative is to use Sphinx search engine, using Mirasvit Sphinx module. But I agree, this should be fixed to restore compatibility with 2.4.x.