Fatal error: Uncaught Error: Call to a member function getName() on null in /home/staging/public_html/app/design/frontend/Magneto/Ykalmoayyed/Magento_Catalog/templates/product/list.phtml:21
Stack trace:
#0 /home/staging/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include()
#1 /home/staging/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor), '/home/staging/p...', Array)
#2 /home/staging/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#3 /home/staging/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor), '/home/staging/p...', Array)
#4 /home/staging/public_html/generated/code/Magento/Fra in /home/staging/public_html/app/design/frontend/Magneto/Ykalmoayyed/Magento_Catalog/templates/product/list.phtml on line 21