Fatal error: Uncaught Error: Call to a member function addAttributeToSelect() on array in /home/safecart/public_html/app/code/Emizentech/CategoryWidget/Block/Widget/CategoryWidget.php:71 Stack trace: #0 [internal function]: Emizentech\CategoryWidget\Block\Widget\CategoryWidget->getCategoryCollection() #1 /home/safecart/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(82): call_user_func_array(Array, Array) #2 /home/safecart/public_html/var/view_preprocessed/pub/static/app/code/Emizentech/CategoryWidget/view/frontend/templates/widget/categorywidget.phtml(1): Magento\Framework\View\TemplateEngine\Php->__call('getCategoryColl...', Array) #3 /home/safecart/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/safecart/...') #4 /home/safecart/public_html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Emizentech\CategoryWidget\Block\Widget\CategoryWidget), '/home/safecart/...', Array) #5 /home/safecart/public_html/v in /home/safecart/public_html/app/code/Emizentech/CategoryWidget/Block/Widget/CategoryWidget.php on line 71