Fatal error: Uncaught Error: Call to undefined method Ves\Brand\Model\ResourceModel\Brand\Collection::addAttributeToSort() in /home/freemans/www/www/vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php:196 Stack trace: #0 /home/freemans/www/www/app/code/Ves/Brand/Block/Brandpage.php(202): Magento\Catalog\Block\Product\ProductList\Toolbar->setCollection(Object(Ves\Brand\Model\ResourceModel\Brand\Collection)) #1 /home/freemans/www/www/vendor/magento/framework/View/Element/AbstractBlock.php(666): Ves\Brand\Block\Brandpage->_beforeToHtml() #2 /home/freemans/www/www/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml() #3 /home/freemans/www/www/vendor/magento/framework/View/Layout.php(534): Magento\Framework\View\Layout->_renderBlock('vesbrand.list') #4 /home/freemans/www/www/vendor/magento/framework/View/Layout.php(489): Magento\Framework\View\Layout->renderNonCachedElement('vesbrand.list') #5 /home/freemans/www/www/vendor/magento/framework/View/Layout.php(586): M in /home/freemans/www/www/vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php on line 196