Fatal error: Uncaught Error: Cannot use object of type Amasty\ShopbyBrand\Model\ProductCount as array in /var/www/living.danielloboutique.it/htdocs/app/code/Cooder/DesignerFilter/Block/Widget/BrandList.php:126 Stack trace: #0 /var/www/living.danielloboutique.it/htdocs/app/code/Cooder/DesignerFilter/Block/Widget/BrandList.php(157): Cooder\DesignerFilter\Block\Widget\BrandList->_getOptionProductCount('238') #1 /var/www/living.danielloboutique.it/htdocs/vendor/amasty/module-shop-by-brand/Block/Widget/BrandListAbstract.php(135): Cooder\DesignerFilter\Block\Widget\BrandList->getItemData(Object(Magento\Eav\Model\Entity\Attribute\Option), Object(Amasty\ShopbyBase\Model\OptionSetting)) #2 /var/www/living.danielloboutique.it/htdocs/vendor/amasty/module-shop-by-brand/Block/Widget/BrandList.php(82): Amasty\ShopbyBrand\Block\Widget\BrandListAbstract->getItems() #3 [internal function]: Amasty\ShopbyBrand\Block\Widget\BrandList->getIndex() #4 /var/www/living.danielloboutique.it/htdocs/vendor/magento/framework/View/TemplateEngine/Php.ph in /var/www/living.danielloboutique.it/htdocs/app/code/Cooder/DesignerFilter/Block/Widget/BrandList.php on line 126