Fatal error: Uncaught Error: Call to a member function getChildrenCategories() on null in /chroot/home/a5752a81/2fa0c25a6d.nxcli.net/html/app/code/Shaligram/Categorylisting/Block/Index/Index.php:57 Stack trace: #0 /chroot/home/a5752a81/2fa0c25a6d.nxcli.net/html/var/view_preprocessed/pub/static/app/code/Shaligram/Categorylisting/view/frontend/templates/categorylisting_index_index.phtml(1): Shaligram\Categorylisting\Block\Index\Index->getCategories() #1 /chroot/home/a5752a81/2fa0c25a6d.nxcli.net/html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/chroot/home/a5...') #2 /chroot/home/a5752a81/2fa0c25a6d.nxcli.net/html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Shaligram\Categorylisting\Block\Index\Index), '/chroot/home/a5...', Array) #3 /chroot/home/a5752a81/2fa0c25a6d.nxcli.net/html/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/chroot/home/a5...') #4 /chroot/home/a5752a81 in /chroot/home/a5752a81/2fa0c25a6d.nxcli.net/html/app/code/Shaligram/Categorylisting/Block/Index/Index.php on line 57