Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ResourceModel\Product\Collection::getEntityPkName() must be an instance of Magento\Eav\Model\Entity\AbstractEntity, instance of Magento\Catalog\Model\ResourceModel\Product\Flat given, called in /var/www/muuto.com/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php on line 1369 and defined in /var/www/muuto.com/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php:1532 Stack trace: #0 /var/www/muuto.com/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1369): Magento\Catalog\Model\ResourceModel\Product\Collection->getEntityPkName(Object(Magento\Catalog\Model\ResourceModel\Product\Flat)) #1 /var/www/muuto.com/public_html/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php(1476): Magento\Eav\Model\Entity\Collection\AbstractCollection->_addAttributeJoin('amp;table_top', 'inner') #2 /var/www/muuto.com/public_html/vendor/magento/module in /var/www/muuto.com/public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 1532