Array
(
    [id] => 238
    [gis_id] => 69
    [name] => Абакан
    [translit] => abakan
    [district] => городской округ Абакан
    [region_id] => 69
    [data] => s:124:"a:3:{s:8:"genitive";s:14:"Абакана";s:13:"prepositional";s:14:"Абакане";s:10:"accusative";s:12:"Абакан";}";
    [lat] => 91.442387
    [lon] => 53.721152
    [province1] => Сибирский федеральный округ
    [province2] => Республика Хакасия
    [country] => Россия
    [time_zone] => Asia/Krasnoyarsk
    [url] => abakan
)
Array
(
    [id] => 247
    [gis_id] => 10415196908552297
    [name] => Абинск
    [translit] => abinsk
    [district] => Абинский район
    [region_id] => 74
    [data] => 
    [lat] => 38.151163
    [lon] => 44.866256
    [province1] => Южный федеральный округ
    [province2] => Краснодарский край
    [country] => Россия
    [time_zone] => Europe/Moscow
    [url] => abinsk
)
Array
(
    [id] => 86
    [gis_id] => 70030076127889904
    [name] => Адыгейск
    [translit] => adygeysk
    [district] => городской округ Адыгейск
    [region_id] => 23
    [data] => 
    [lat] => 39.191151
    [lon] => 44.882365
    [province1] => Южный федеральный округ
    [province2] => Республика Адыгея
    [country] => Россия
    [time_zone] => Europe/Moscow
    [url] => adygeysk
)
Array
(
    [id] => 89
    [gis_id] => 3378322490785823
    [name] => Азов
    [translit] => azov
    [district] => городской округ Азов
    [region_id] => 24
    [data] => 
    [lat] => 39.423267
    [lon] => 47.112129
    [province1] => Южный федеральный округ
    [province2] => Ростовская область
    [country] => Россия
    [time_zone] => Europe/Moscow
    [url] => azov
)
Array
(
    [id] => 90
    [gis_id] => 3378322490785812
    [name] => Аксай
    [translit] => aksay
    [district] => город Аксай
    [region_id] => 24
    [data] => 
    [lat] => 53.021901
    [lon] => 51.165499
    [province1] => Западно-Казахстанская область
    [province2] => Бурлинский район
    [country] => Казахстан
    [time_zone] => Europe/Moscow
    [url] => aksay
)
Array
(
    [id] => 285
    [gis_id] => 13229946675658754
    [name] => Амурск
    [translit] => amursk
    [district] => Амурский район
    [region_id] => 94
    [data] => 
    [lat] => 136.879148
    [lon] => 50.234524
    [province1] => Дальневосточный федеральный округ
    [province2] => Хабаровский край
    [country] => Россия
    [time_zone] => Asia/Yekaterinburg
    [url] => amursk
)
Array
(
    [id] => 249
    [gis_id] => 10415196908552204
    [name] => Анапа
    [translit] => anapa
    [district] => городской округ Город Анапа
    [region_id] => 74
    [data] => 
    [lat] => 37.316206
    [lon] => 44.894958
    [province1] => Южный федеральный округ
    [province2] => Краснодарский край
    [country] => Россия
    [time_zone] => Europe/Moscow
    [url] => anapa
)
Array
(
    [id] => 48
    [gis_id] => 1548735142166530
    [name] => Ангарск
    [translit] => angarsk
    [district] => Ангарское городское муниципальное образование
    [region_id] => 11
    [data] => 
    [lat] => 103.88824
    [lon] => 52.544358
    [province1] => Сибирский федеральный округ
    [province2] => Иркутская область
    [country] => Россия
    [time_zone] => Asia/Irkutsk
    [url] => angarsk
)
Array
(
    [id] => 271
    [gis_id] => 12385521745526791
    [name] => Анива
    [translit] => aniva
    [district] => Анивский городской округ
    [region_id
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /var/www/webservice/data/www/html/components/Helper.php on line 58. in /var/www/webservice/data/www/html/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/web/ErrorHandler.php(135): yii\web\Response->send()
#2 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#4 {main}
Previous exception:
yii\base\ErrorException: Trying to get property of non-object in /var/www/webservice/data/www/html/components/gis.php:1343
Stack trace:
#0 /var/www/webservice/data/www/html/components/gis.php(1343): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/webser...', 1343, Array)
#1 /var/www/webservice/data/www/html/controllers/SiteController.php(78): app\components\gis->useGeoCoder()
#2 [internal function]: app\controllers\SiteController->actionIndex()
#3 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#4 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#5 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
#6 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('site/index', Array)
#7 /var/www/webservice/data/www/html/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#8 /var/www/webservice/data/www/html/web/index.php(11): yii\base\Application->run()
#9 {main}

Warning: file_put_contents(/var/www/webservice/data/www/html/runtime/debug/5b060585bebb4.data): failed to open stream: Permission denied in /var/www/webservice/data/www/html/vendor/yiisoft/yii2-debug/LogTarget.php on line 64

Warning: touch(): Utime failed: Permission denied in /var/www/webservice/data/www/html/vendor/yiisoft/yii2-debug/LogTarget.php on line 82