Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ProductRepository::getProductFromLocalCache() must be of the type string, null given, called in /var/www/html/magento3/vendor/magento/module-catalog/Model/ProductRepository.php on line 270 and defined in /var/www/html/magento3/vendor/magento/module-catalog/Model/ProductRepository.php:751 Stack trace: #0 /var/www/html/magento3/vendor/magento/module-catalog/Model/ProductRepository.php(270): Magento\Catalog\Model\ProductRepository->getProductFromLocalCache(NULL, 'adf0bb68589672e...') #1 /var/www/html/magento3/app/design/frontend/crown-trophy/theme-frontend/Magento_Catalog/templates/category/pricingtable.phtml(9): Magento\Catalog\Model\ProductRepository->get(NULL) #2 /var/www/html/magento3/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/html/m...') #3 /var/www/html/magento3/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(CrownTrophy\MagentoCatalog\Block\Categ in /var/www/html/magento3/vendor/magento/module-catalog/Model/ProductRepository.php on line 751