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