Facing an issue with the Elasticsearch Catalog Permissions on Search & Product List pages.


Search Engine - Elasticsearch 6.x

Category Permissions - Enabled in configuration and applied to one sample category properly followed as shown in M2 documentation.

1 exception(s):
Exception #0 (RuntimeException): Illegal state

Exception #0 (RuntimeException): Illegal state
#1 Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor->addFieldToFilter() called at [vendor/magento/module-elasticsearch-catalog-permissions/Plugin/AddCategoryPermissionsToCollection.php:104]
#2 Magento\ElasticsearchCatalogPermissions\Plugin\AddCategoryPermissionsToCollection->beforeLoad() called at [vendor/magento/framework/Interception/Interceptor.php:121]
and so on.....
  • did you fix this issue ? I encoutered the same. – Fabienne May 15 at 14:19

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.