Fatal error: Uncaught TypeError: Argument 1 passed to Doofinder\Feed\Model\Layer\Category\ItemCollectionProvider::getCollection() must be an instance of Magento\Catalog\Model\Category, instance of MageWorx\Locations\Model\Location given, called in /var/www/magento-dev/app/code/MageWorx/LocationPages/Model/LocationLayer.php on line 66 and defined in /var/www/magento-dev/vendor/doofinder/doofinder-magento2/Model/Layer/Category/ItemCollectionProvider.php:36 Stack trace: #0 /var/www/magento-dev/app/code/MageWorx/LocationPages/Model/LocationLayer.php(66): Doofinder\Feed\Model\Layer\Category\ItemCollectionProvider->getCollection(Object(MageWorx\Locations\Model\Location)) #1 /var/www/magento-dev/app/code/MGS/Ajaxlayernavigation/Model/ResourceModel/Layer/Filter/Attribute.php(13): MageWorx\LocationPages\Model\LocationLayer->getProductCollection() #2 /var/www/magento-dev/app/code/MGS/Ajaxlayernavigation/Model/Layer/Filter/Attribute.php(79): MGS\Ajaxlayernavigation\Model\ResourceModel\Layer\Filter\Attribute->getCount(Object(MGS\Ajax in /var/www/magento-dev/vendor/doofinder/doofinder-magento2/Model/Layer/Category/ItemCollectionProvider.php on line 36