Рассчитать проект
[TypeError] 
count(): Argument #1 ($value) must be of type Countable|array, null given (0)
/home/b/baikovvn/woodgrand.ru/public_html/local/components/max/new_catalog/templates/.default/max/new_catalog.section/.default/result_modifier.php:58
#0: count(NULL)
	/home/b/baikovvn/woodgrand.ru/public_html/local/components/max/new_catalog/templates/.default/max/new_catalog.section/.default/result_modifier.php:58
#1: include(string)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component_template.php:947
#2: CBitrixComponentTemplate->__IncludeMutatorFile(array, array)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component_template.php:854
#3: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:776
#4: CBitrixComponent->showComponentTemplate()
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:716
#5: CBitrixComponent->includeComponentTemplate()
	/home/b/baikovvn/woodgrand.ru/public_html/local/components/max/new_catalog.section/class.php:373
#6: NewCatalogList->executeComponent()
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:660
#7: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/main.php:1072
#8: CAllMain->IncludeComponent(string, string, array, object)
	/home/b/baikovvn/woodgrand.ru/public_html/local/components/max/new_catalog/templates/.default/section.php:2
#9: include(string)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790
#10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885
#11: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:776
#12: CBitrixComponent->showComponentTemplate()
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:716
#13: CBitrixComponent->includeComponentTemplate(string)
	/home/b/baikovvn/woodgrand.ru/public_html/local/components/max/new_catalog/component.php:175
#14: include(string)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:607
#15: CBitrixComponent->__includeComponent()
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/component.php:684
#16: CBitrixComponent->includeComponent(string, array, NULL, boolean)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/classes/general/main.php:1072
#17: CAllMain->IncludeComponent(string, string, array)
	/home/b/baikovvn/woodgrand.ru/public_html/katalog/index.php:17
#18: include_once(string)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184
#19: include_once(string)
	/home/b/baikovvn/woodgrand.ru/public_html/bitrix/urlrewrite.php:2
----------