Fatal error: Uncaught Error: Call to a member function addAttributeToSort() on array in /srv/public_html/app/design/frontend/Magento/kevinscatalog/Magento_Theme/templates/html/current_subcategories.phtml:21 Stack trace: #0 /srv/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /srv/public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Framework\View\Element\Template), '/srv/public_htm...', Array) #2 /srv/public_html/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/srv/public_htm...') #3 /srv/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Framework\View\Element\Template->_toHtml() #4 /srv/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Element\AbstractBlock->toHtml() #5 /srv/public_html/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_renderBlock('catalog in /srv/public_html/app/design/frontend/Magento/kevinscatalog/Magento_Theme/templates/html/current_subcategories.phtml on line 21