Fatal error: Uncaught Error: Call to a member function getConnection() on null in /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/app/code/Ves/Blog/Model/Post.php:122
Stack trace:
#0 /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/app/design/frontend/Venustheme/cricket/Ves_Blog/templates/post/comment.phtml(15): Ves\Blog\Model\Post->getPostCategories()
#1 /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/380984.cl...')
#2 /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Ves\Blog\Block\Post\Comment), '/home/380984.cl...', Array)
#3 /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/home/380984.cl...')
#4 /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/app/code/Ves/Blog/Block/Post/Comment.php(88): Magent in /home/380984.cloudwaysapps.com/cnafhzhrvu/public_html/app/code/Ves/Blog/Model/Post.php on line 122