Fatal error: Uncaught Error: Call to a member function setCurPage() on null
Hello all,
Since last week I have a problem with my website. I don't know how it's happen but whrn I try to open a page (category), I get this message :
Fatal error: Uncaught Error: Call to a member function setCurPage() on null in /home/doyaci/public_html/app/code/WeltPixel/GoogleTagManager/Block/Category.php:23 Stack trace: #0 [internal function]: WeltPixel\GoogleTagManager\Block\Category->getProductCollection() #1 /home/doyaci/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(82): call_user_func_array(Array, Array) #2 /home/doyaci/public_html/app/code/WeltPixel/GoogleTagManager/view/frontend/templates/category.phtml(7): Magento\Framework\View\TemplateEngine\Php->__call('getProductColle...', Array) #3 /home/doyaci/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/doyaci/pu...') #4 /home/doyaci/public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(WeltPixel\GoogleTagManager\Block\Category), '/home/doyaci/pu...', Array) #5 /home/doyaci/public_html/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchVie in /home/doyaci/public_html/app/code/WeltPixel/GoogleTagManager/Block/Category.php on line 23
I'm using magento 2.2.5

Please sign in to leave a comment.
Comments
0 comments