[TypeError] in_array(): Argument #2 ($haystack) must be of type array, null given (0) /var/www/html/htdocs/local/templates/main/footer.php:4 #0: in_array /var/www/html/htdocs/local/templates/main/footer.php:4 #1: include_once(string) /var/www/html/htdocs/bitrix/modules/main/include/epilog_before.php:93 #2: require(string) /var/www/html/htdocs/bitrix/modules/main/include/epilog.php:2 #3: require_once(string) /var/www/html/htdocs/bitrix/footer.php:4 #4: require(string) /var/www/html/htdocs/404.php:26 #5: require(string) /var/www/html/htdocs/bitrix/modules/iblock/lib/component/tools.php:85 #6: Bitrix\Iblock\Component\Tools::process404 /var/www/html/htdocs/bitrix/components/bitrix/news/component.php:258 #7: include(string) /var/www/html/htdocs/bitrix/modules/main/classes/general/component.php:607 #8: CBitrixComponent->__includeComponent /var/www/html/htdocs/bitrix/modules/main/classes/general/component.php:684 #9: CBitrixComponent->includeComponent /var/www/html/htdocs/bitrix/modules/main/classes/general/main.php:1062 #10: CAllMain->IncludeComponent /var/www/html/htdocs/ru/media/news/index.php:106 #11: include_once(string) /var/www/html/htdocs/bitrix/modules/main/include/urlrewrite.php:184 #12: include_once(string) /var/www/html/htdocs/bitrix/urlrewrite.php:2 ----------