Fatal error: Uncaught Error: Call to undefined method Ves\Brand\Model\ResourceModel\Brand\Collection::addAttributeToSort() in /var/www/tntsport.fr/htdocs/vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php:196 Stack trace: #0 /var/www/tntsport.fr/htdocs/generated/code/Ves/Brand/Block/Toolbar/Interceptor.php(50): Magento\Catalog\Block\Product\ProductList\Toolbar->setCollection(Object(Ves\Brand\Model\ResourceModel\Brand\Collection)) #1 /var/www/tntsport.fr/htdocs/app/code/Ves/Brand/Block/Brandpage.php(202): Ves\Brand\Block\Toolbar\Interceptor->setCollection(Object(Ves\Brand\Model\ResourceModel\Brand\Collection)) #2 /var/www/tntsport.fr/htdocs/vendor/magento/framework/View/Element/AbstractBlock.php(666): Ves\Brand\Block\Brandpage->_beforeToHtml() #3 /var/www/tntsport.fr/htdocs/generated/code/Ves/Brand/Block/Brandpage/Interceptor.php(492): Magento\Framework\View\Element\AbstractBlock->toHtml() #4 /var/www/tntsport.fr/htdocs/vendor/magento/framework/View/Layout.php(557): Ves\Brand\Block\Brandpage\Interceptor->t in /var/www/tntsport.fr/htdocs/vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php on line 196