[TypeError] in_array(): Argument #2 ($haystack) must be of type array, bool given (0) /var/www/centrvann.ru/data/www/markaone.ru/local/templates/psk_new_marka_one/components/bitrix/catalog.section/psk_cat/template.php:183 #0: in_array(integer, boolean) /var/www/centrvann.ru/data/www/markaone.ru/local/templates/psk_new_marka_one/components/bitrix/catalog.section/psk_cat/template.php:183 #1: include(string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component_template.php:790 #2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component_template.php:885 #3: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:784 #4: CBitrixComponent->showComponentTemplate() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:724 #5: CBitrixComponent->includeComponentTemplate() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/iblock/lib/component/base.php:4710 #6: Bitrix\Iblock\Component\Base->loadData() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/iblock/lib/component/elementlist.php:1330 #7: Bitrix\Iblock\Component\ElementList->loadData() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/iblock/lib/component/base.php:4689 #8: Bitrix\Iblock\Component\Base->initialLoadAction() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/components/bitrix/catalog.section/class.php:354 #9: CatalogSectionComponent->initialLoadAction() #10: call_user_func(array) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/iblock/lib/component/base.php:4876 #11: Bitrix\Iblock\Component\Base->doAction() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/iblock/lib/component/base.php:4894 #12: Bitrix\Iblock\Component\Base->executeComponent() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:668 #13: CBitrixComponent->includeComponent(string, array, object, boolean) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/main.php:1072 #14: CAllMain->IncludeComponent(string, string, array, object) /var/www/centrvann.ru/data/www/markaone.ru/local/templates/psk_new_marka_one/components/bitrix/catalog/psk/section_vertical.php:112 #15: include(string) /var/www/centrvann.ru/data/www/markaone.ru/local/templates/psk_new_marka_one/components/bitrix/catalog/psk/section.php:69 #16: include(string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component_template.php:790 #17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component_template.php:885 #18: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:784 #19: CBitrixComponent->showComponentTemplate() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:724 #20: CBitrixComponent->includeComponentTemplate(string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/components/bitrix/catalog/component.php:323 #21: include(string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:615 #22: CBitrixComponent->__includeComponent() /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/component.php:692 #23: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/classes/general/main.php:1072 #24: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/centrvann.ru/data/www/markaone.ru/catalog/index.php:19 #25: include_once(string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/modules/main/include/urlrewrite.php:184 #26: include_once(string) /var/www/centrvann.ru/data/www/centrvann.ru/bitrix/urlrewrite.php:2 ----------