elasticsuite: After upgrade to magento 2.3.2 site broken
Preconditions
Magento Version : magento 2.3.2
ElasticSuite Version :2.8.0
Environment :Developer
Third party modules :
Steps to reproduce
- composer require “magento/magento-cloud-metapackage”:“2.3.2” --no-update
- bin/magento setup:upgrade
- 500 error Fatal Error: ‘Class ‘Magento\CatalogInventory\Model\Plugin\Layer’ not found’ in ‘/var/www/vhosts/default/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Plugin/LayerPlugin.php’ on line 25
Expected result
- can normally go to home page
Actual result
<error>
<messages>
<error>
<data_item>
<code>500</code>
<message>
<![CDATA[
Fatal Error: 'Class 'Magento\CatalogInventory\Model\Plugin\Layer' not found' in '/var/www/vhosts/default/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Plugin/LayerPlugin.php' on line 25
]]>
</message>
<trace>
<![CDATA[ Trace is not available. ]]>
</trace>
</data_item>
</error>
</messages>
</error>

About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28 (5 by maintainers)
Commits related to this issue
- Fixes #1442 Remove Layer plugin reference Magento 2.3.2 removed this plugin — committed to NathMorgan/elasticsuite by NathMorgan 5 years ago
@skazhikadyadya I fix like this;
Unfortunately #1448 did not work for us and we desperately need to have a working version. When can we expect a fix?
Thanks! Could create a new release with this merge?
Fixed by PR #1461
Layered navigation will still be entirely broken even if you do this.
Looks like this commit is what removed the layer plugin and changed the logic:
https://github.com/magento/magento2/commit/9ab466d8569ea556cb01393989579c3aac53d9a3#diff-2ad66624cecd33a368d784f2be936f48
It’s weird, that Magento fellows allowed removal of the code without any prior notice, as pert of minor release.