Error: Call to a member function getCategoryCollection() on null in /home/ubuntu/vladis/app/code/Codazon/GoogleAmpManager/Helper/Product.php:36 Stack trace: #0 /home/ubuntu/vladis/app/code/Codazon/GoogleAmpManager/view/frontend/templates/amp/product/view/breadcrumbs.phtml(8): Codazon\GoogleAmpManager\Helper\Product->getProductPageCrumbs() #1 /home/ubuntu/vladis/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/ubuntu/vl...') #2 /home/ubuntu/vladis/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #3 /home/ubuntu/vladis/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView() #4 /home/ubuntu/vladis/vendor/magento/module-theme/Block/Html/Breadcrumbs.php(122): Magento\Framework\View\Element\Template->_toHtml() #5 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Theme\Block\Html\Breadcrumbs->_toHtml() #6 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #7 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #8 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(566): Magento\Framework\View\Element\AbstractBlock->toHtml() #9 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock() #10 /home/ubuntu/vladis/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #11 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #12 /home/ubuntu/vladis/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #13 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #14 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #15 /home/ubuntu/vladis/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #16 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #17 /home/ubuntu/vladis/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #18 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #19 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #20 /home/ubuntu/vladis/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #21 /home/ubuntu/vladis/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #22 /home/ubuntu/vladis/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #23 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(526): Magento\Framework\View\Layout\Interceptor->renderElement() #24 /home/ubuntu/vladis/app/code/Codazon/GoogleAmpManager/view/frontend/templates/amp/html/layout-content.phtml(8): Magento\Framework\View\Element\AbstractBlock->getChildHtml() #25 /home/ubuntu/vladis/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/ubuntu/vl...') #26 /home/ubuntu/vladis/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #27 /home/ubuntu/vladis/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView() #28 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #29 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #30 /home/ubuntu/vladis/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #31 /home/ubuntu/vladis/app/code/Codazon/GoogleAmpManager/Helper/Data.php(179): Magento\Framework\View\Element\AbstractBlock->toHtml() #32 /home/ubuntu/vladis/app/code/Codazon/GoogleAmpManager/Plugin/Controller/Catalog/Product/View.php(26): Codazon\GoogleAmpManager\Helper\Data->renderAmpPageContent() #33 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(135): Codazon\GoogleAmpManager\Plugin\Controller\Catalog\Product\View->aroundExecute() #34 /home/ubuntu/vladis/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #35 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute() #36 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #37 /home/ubuntu/vladis/generated/code/Magento/Catalog/Controller/Product/View/Interceptor.php(26): Magento\Catalog\Controller\Product\View\Interceptor->___callPlugins() #38 /home/ubuntu/vladis/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Product\View\Interceptor->execute() #39 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch() #40 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Product\View\Interceptor->___callParent() #41 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #42 /home/ubuntu/vladis/generated/code/Magento/Catalog/Controller/Product/View/Interceptor.php(39): Magento\Catalog\Controller\Product\View\Interceptor->___callPlugins() #43 /home/ubuntu/vladis/vendor/magento/framework/App/FrontController.php(186): Magento\Catalog\Controller\Product\View\Interceptor->dispatch() #44 /home/ubuntu/vladis/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest() #45 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #46 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #47 /home/ubuntu/vladis/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #48 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() #49 /home/ubuntu/vladis/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(75): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #50 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() #51 /home/ubuntu/vladis/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #52 /home/ubuntu/vladis/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #53 /home/ubuntu/vladis/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #54 /home/ubuntu/vladis/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #55 /home/ubuntu/vladis/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #56 /home/ubuntu/vladis/pub/index.php(40): Magento\Framework\App\Bootstrap->run() #57 {main}