[TypeError] import\UpdateShopsAdress::getShopsToApiByCity(): Return value must be of type array, null returned (0) /home/bitrix/www/local/import/updateCatalogScripts/updateShopsAdress.php:192 #0: import\UpdateShopsAdress->getShopsToApiByCity(integer) /home/bitrix/www/local/components/ast/where-buy/class.php:78 #1: WhereBuy->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:668 #2: CBitrixComponent->includeComponent(string, array, NULL, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1195 #3: CAllMain->IncludeComponent(string, string, array) /home/bitrix/www/where-buy/index.php:6 #4: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:184 #5: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2 ----------