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

[TypeError] 
in_array(): Argument #2 ($haystack) must be of type array, null given (0)
/home/web/rzv.ru/www/objects/detailObject.php:157
#0: in_array(string, NULL)
	/home/web/rzv.ru/www/objects/detailObject.php:157
#1: include_once(string)
	/home/web/rzv.ru/www/bitrix/modules/main/include/urlrewrite.php:184
#2: include_once(string)
	/home/web/rzv.ru/www/bitrix/urlrewrite.php:2
----------