You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Magento Version : Magento 2.3.0 Community Edition.
ElasticSuite Version : 2.9.x-dev
Environment : Developer on Ubuntu server served with Nginx.
Third party modules :
It was working just fine a week ago so I know that elastic suite module was working with the weltpixel ajax auto complete.
Ran a composer install for Mageplaza_Smtp maybe that did some kind of upgrade of elastic suite modules?
Now it does not work anymore.
Tried rebuilding, clearing caches, deleting static and generated/code directories etc still not happening.
This is by Ajax request not Rest API but may still be related?
Exception:
Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Search\Request::getType() in vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Adapter.php:104
Stack trace:
#0 vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Adapter.php(82): Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Adapter->doSearch(Object(Magento\Framework\Search\Request))
#1 vendor/magento/module-search/Model/SearchEngine.php(42): Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Adapter->query(Object(Magento\Framework\Search\Request))
#2 vendor/magento/framework/Search/Search.php(72): Magento\Search\Model\SearchEngine->search(Object(Magento\Framework\Search\Request))
#3 app/code/WeltPixel/SearchAutoComplete/Model/Autocomplete/SearchDataProvider.php(267): Magento\ in vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Adapter.php on line 104
Any thoughts to repair this?
Kind regards,
The text was updated successfully, but these errors were encountered:
LiamKarlMitchell
changed the title
Call to undefiend method Search\Request::getType when making a search request with WeltPixel AutoComplete.
Call to undefined method Search\Request::getType when making a search request with WeltPixel AutoComplete.
Jul 1, 2019
I did not dig into the Weltpixel extension source code (and I cannot, since it's not open source), but it's likely unprobable that you can have both this one and Elasticsuite on your website.
Especially considering their extension is providing the same thing as the Elasticsuite autocomplete box.
That being said, supporting third party paid extension is not part of our community support commitment. You can contact us for commercial support if it is critical for you.
Feel free to send an email to [email protected] if you are interested in this kind of commercial support.
I understand this is not something Smile-SA would fix (at least without commercial support).
Just an update on compatibility with WeltPixel for the next guy who has this issue with their Pearl theme/extensions :)
You need to disable these modules to use Smile-SA Elastic Search.
WeltPixel_AdvanceCategorySorting
WeltPixel_LayeredNavigation
WeltPixel_SearchAutoComplete
But then the ajax lazy load scrolling feature from WeltPixel does not work maybe it comes from AdvanceCategorySorting.
Maybe there is some line of code that can be commented out in that module but I have not looked yet.
The Search Autocomplete/bar has CSS over-written in the Theme, which needs to be reverted to allow Smile's one to work properly, the autocomplete words are showing for me now but are not clickable/interactable.
There are other search types though which might work I'll have to play around with it.
Preconditions
Magento Version : Magento 2.3.0 Community Edition.
ElasticSuite Version : 2.9.x-dev
Environment : Developer on Ubuntu server served with Nginx.
Third party modules :
Steps to reproduce
This is by Ajax request not Rest API but may still be related?
Exception:
Any thoughts to repair this?
Kind regards,
The text was updated successfully, but these errors were encountered: