[TypeError] in_array(): Argument #2 ($haystack) must be of type array, bool given (0) /home/d/dorios/dorios.ru/public_html/local/templates/dorios/components/custom/super/catalog/template.php:14 #0: in_array(string, boolean) /home/d/dorios/dorios.ru/public_html/local/templates/dorios/components/custom/super/catalog/template.php:14 #1: include(string) /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #3: CBitrixComponentTemplate->IncludeTemplate(array) /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/component.php:776 #4: CBitrixComponent->showComponentTemplate() /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/component.php:716 #5: CBitrixComponent->includeComponentTemplate() /home/d/dorios/dorios.ru/public_html/local/components/custom/super/component.php:6 #6: include(string) /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/component.php:607 #7: CBitrixComponent->__includeComponent() /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/component.php:684 #8: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/classes/general/main.php:1062 #9: CAllMain->IncludeComponent(string, string, array, boolean) /home/d/dorios/dorios.ru/public_html/product.php:18 #10: include_once(string) /home/d/dorios/dorios.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184 #11: include_once(string) /home/d/dorios/dorios.ru/public_html/bitrix/urlrewrite.php:2 ----------