Stores in
Element is not found
[TypeError] Argument 2 passed to Artw\Structure\Shops\ShopProvider::__construct() must be an instance of Artw\Geo\City\City, null given, called in /home/bitrix/www/local/components/artw/shops.nearest/class.php on line 17 (0) /home/bitrix/www/local/php_interface/lib/Artw/Structure/Shops/ShopProvider.php:21 #0: Artw\Structure\Shops\ShopProvider->__construct(string, NULL) /home/bitrix/www/local/components/artw/shops.nearest/class.php:17 #1: ShopsNearest->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:649 #2: CBitrixComponent->includeComponent(string, array, object) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #3: CAllMain->IncludeComponent(string, string, array, object) /home/bitrix/www/local/templates/.default/components/bitrix/news/stores/detail.php:89 #4: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:725 #5: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:820 #6: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:746 #7: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:694 #8: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/bitrix/components/bitrix/news/component.php:216 #9: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #10: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:664 #11: CBitrixComponent->includeComponent(string, array, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #12: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/en/stores/index.php:118 #13: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 #14: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2