[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/bitrix/www/bitrix/php_interface/include/functions.php:291 #0: getCountWish /home/bitrix/www/include/top_wcart.php:11 #1: include(string) /home/bitrix/www/bitrix/components/bitrix/main.include/templates/.default/template.php:17 #2: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:790 #3: CBitrixComponentTemplate->__IncludePHPTemplate /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:885 #4: CBitrixComponentTemplate->IncludeTemplate /home/bitrix/www/bitrix/modules/main/classes/general/component.php:776 #5: CBitrixComponent->showComponentTemplate /home/bitrix/www/bitrix/modules/main/classes/general/component.php:716 #6: CBitrixComponent->includeComponentTemplate /home/bitrix/www/bitrix/components/bitrix/main.include/component.php:280 #7: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:607 #8: CBitrixComponent->__includeComponent /home/bitrix/www/bitrix/modules/main/classes/general/component.php:684 #9: CBitrixComponent->includeComponent /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1072 #10: CAllMain->IncludeComponent /home/bitrix/www/bitrix/templates/trimonti/header.php:59 #11: include_once(string) /home/bitrix/www/bitrix/modules/main/include/prolog_after.php:110 #12: require(string) /home/bitrix/www/bitrix/modules/main/include/prolog.php:11 #13: require_once(string) /home/bitrix/www/bitrix/header.php:1 #14: require(string) /home/bitrix/www/catalog/index.php:44 #15: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:184 #16: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2 ----------