Fatal error: Uncaught Error: Call to a member function getChildrenCategories() on null in /html/magento2/app/code/DesignYu/Customs/Plugin/Catalog/Controller/Category/View.php:8 Stack trace: #0 /html/magento2/vendor/magento/framework/Interception/Interceptor.php(146): DesignYu\Customs\Plugin\Catalog\Controller\Category\View->afterExecute(Object(Smartwave\Porto\Controller\Category\View\Interceptor), Object(Magento\Framework\Controller\Result\Forward\Interceptor)) #1 /html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Smartwave\Porto\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}() #2 /html/magento2/generated/code/Smartwave/Porto/Controller/Category/View/Interceptor.php(26): Smartwave\Porto\Controller\Category\View\Interceptor->___callPlugins('execute', Array, Array) #3 /html/magento2/vendor/magento/framework/App/Action/Action.php(108): Smartwave\Porto\Controller\Category\View\Interceptor->execute() #4 /html/magento2/vendor/magento/framework/Interception/Interceptor.php( in /html/magento2/app/code/DesignYu/Customs/Plugin/Catalog/Controller/Category/View.php on line 8