Fatal error: Uncaught Error: Call to a member function count() on null in /var/www/CICD-deployment/deploymentVersion/current/app/code/Ivalue/FlashSales/view/frontend/templates/widget/product/list.phtml:12 Stack trace: #0 /var/www/CICD-deployment/deploymentVersion/current/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /var/www/CICD-deployment/deploymentVersion/current/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Ivalue\FlashSales\Block\Widget\Product\Listing\Interceptor), '/var/www/CICD-d...', Array) #2 /var/www/CICD-deployment/deploymentVersion/current/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\Template->fetchView('/var/www/CICD-d...') #3 /var/www/CICD-deployment/deploymentVersion/current/vendor/magento/framework/Interception/Interceptor.php(138): Ivalue\FlashSales\Block\Widget\Product\Listing\Interceptor->___callParent('fetchView', Array) #4 /var/www/CICD-deployment/deploymentVersion in /var/www/CICD-deployment/deploymentVersion/current/app/code/Ivalue/FlashSales/view/frontend/templates/widget/product/list.phtml on line 12