[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/a/ametist44/dev.orolab.ru/public_html/local/components/bxprofi/catalog.order.send/basket.php:44 #0: count(NULL) /home/a/ametist44/dev.orolab.ru/public_html/local/components/bxprofi/catalog.order.send/basket.php:44 #1: include(string) /home/a/ametist44/dev.orolab.ru/public_html/local/components/bxprofi/catalog.order.send/component.php:48 #2: include(string) /home/a/ametist44/dev.orolab.ru/public_html/bitrix/modules/main/classes/general/component.php:615 #3: CBitrixComponent->__includeComponent() /home/a/ametist44/dev.orolab.ru/public_html/bitrix/modules/main/classes/general/component.php:692 #4: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/a/ametist44/dev.orolab.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #5: CAllMain->IncludeComponent(string, string, array, boolean) /home/a/ametist44/dev.orolab.ru/public_html/order/index.php:8 ----------