[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/bitrix/officenext.git/bitrix/modules/main/classes/general/database.php:1103 #0: CAllDBResult->NavStart(integer, boolean, integer) /home/bitrix/officenext.git/bitrix/components/breadhead/company.detail/component.php:179 #1: include(string) /home/bitrix/officenext.git/bitrix/modules/main/classes/general/component.php:607 #2: CBitrixComponent->__includeComponent() /home/bitrix/officenext.git/bitrix/modules/main/classes/general/component.php:684 #3: CBitrixComponent->includeComponent(string, array, NULL, boolean) /home/bitrix/officenext.git/bitrix/modules/main/classes/general/main.php:1072 #4: CAllMain->IncludeComponent(string, string, array) /home/bitrix/officenext.git/company/detail.php:19 ----------