TypeError: Argument 1 passed to Cart2Quote\Not2Order\Helper\Data::hideOrderButton() must be an instance of Magento\Catalog\Model\Product, null given, called in /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/app/code/Cart2Quote/Not2Order/Plugin/Magento/Catalog/Block/Product/ListProductPlugin.php on line 51 and defined in /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/app/code/Cart2Quote/Not2Order/Helper/Data.php:145 Stack trace: #0 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/app/code/Cart2Quote/Not2Order/Plugin/Magento/Catalog/Block/Product/ListProductPlugin.php(51): Cart2Quote\Not2Order\Helper\Data->hideOrderButton() #1 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(146): Cart2Quote\Not2Order\Plugin\Magento\Catalog\Block\Product\ListProductPlugin->afterToHtml() #2 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Smartwave\Filterproducts\Block\Home\FeaturedList\Interceptor->Magento\Framework\Interception\{closure}() #3 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/generated/code/Smartwave/Filterproducts/Block/Home/FeaturedList/Interceptor.php(59): Smartwave\Filterproducts\Block\Home\FeaturedList\Interceptor->___callPlugins() #4 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/module-email/Model/Template/Filter.php(426): Smartwave\Filterproducts\Block\Home\FeaturedList\Interceptor->toHtml() #5 [internal function]: Magento\Email\Model\Template\Filter->blockDirective() #6 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Filter/DirectiveProcessor/LegacyDirective.php(42): ReflectionMethod->invokeArgs() #7 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Filter/Template.php(184): Magento\Framework\Filter\DirectiveProcessor\LegacyDirective->process() #8 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/module-email/Model/Template/Filter.php(1080): Magento\Framework\Filter\Template->filter() #9 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/module-cms/Block/Page.php(170): Magento\Email\Model\Template\Filter->filter() #10 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Cms\Block\Page->_toHtml() #11 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #12 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #13 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml() #14 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Cms\Block\Page\Interceptor->___callParent() #15 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Cms\Block\Page\Interceptor->Magento\Framework\Interception\{closure}() #16 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/generated/code/Magento/Cms/Block/Page/Interceptor.php(23): Magento\Cms\Block\Page\Interceptor->___callPlugins() #17 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(566): Magento\Cms\Block\Page\Interceptor->toHtml() #18 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock() #19 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #20 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement() #21 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #22 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #23 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement() #24 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #25 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #26 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement() #27 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #28 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #29 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement() #30 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #31 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #32 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement() #33 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #34 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #35 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement() #36 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #37 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement() #38 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Layout.php(963): Magento\Framework\View\Layout->renderElement() #39 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #40 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #41 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #42 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins() #43 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #44 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render() #45 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult() #46 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent() #47 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/app/code/Amasty/GdprCookie/Plugin/ProcessPageResult.php(65): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #48 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Amasty\GdprCookie\Plugin\ProcessPageResult->aroundRenderResult() #49 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/app/code/Potato/Compressor/Plugin/ControllerRenderResultAfter.php(65): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #50 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Potato\Compressor\Plugin\ControllerRenderResultAfter->aroundRenderResult() #51 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/app/code/Amasty/PageSpeedTools/Plugin/ProcessPageResult.php(46): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #52 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Amasty\PageSpeedTools\Plugin\ProcessPageResult->aroundRenderResult() #53 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #54 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(32): Magento\Framework\View\Result\Page\Interceptor->___callPlugins() #55 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult() #56 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #57 /home/567006.cloudwaysapps.com/wvpfsdvhuu/public_html/index.php(39): Magento\Framework\App\Bootstrap->run() #58 {main}