TEMPLATE ERROR

Message: An exception has been thrown during the rendering of a template ("Ofey\Logan22\model\donate\shop::getItemInfo(): Return value must be of type Ofey\Logan22\model\item\item, null returned").
File: /var/www/bestworld/data/www/bestworld.fun/src/template/sphere/shop.html
Line: 34
Code: <img src="{{product.getItemInfo().getIcon()}}" alt="">