Элемент не найден

[TypeError] 
Return value of Local\Catalog\Product::getByCode() must be of the type array, boolean returned (0)
/home/bitrix/www/local/classes/Catalog/Product.php:17
#0: Local\Catalog\Product::getByCode(string)
	/home/bitrix/www/local/templates/loloclo/__include__/components/catalog.element/additionally.php:4
#1: include(string)
	/home/bitrix/www/public/products/index.php:155
#2: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#3: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2