yii\base\ErrorException: Trying to get property of non-object in /var/www/karta/common/components/LocationFactory.php:371
Stack trace:
#0 /var/www/karta/common/components/LocationFactory.php(371): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/karta/...', 371, Array)
#1 /var/www/karta/common/components/LocationFactory.php(536): common\components\LocationFactory->getPlaceSubtype(NULL)
#2 /var/www/karta/common/components/LocationFactory.php(294): common\components\LocationFactory->setTypeFromTypeResponse()
#3 /var/www/karta/common/components/LocationFactory.php(186): common\components\LocationFactory->setTypeId()
#4 /var/www/karta/frontend/controllers/LocationController.php(210): common\components\LocationFactory->create()
#5 [internal function]: frontend\controllers\LocationController->actionSearch('66994-verbandsg...')
#6 /var/www/karta/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#7 /var/www/karta/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#8 /var/www/karta/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('search', Array)
#9 /var/www/karta/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('location/search', Array)
#10 /var/www/karta/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(yii\web\Request))
#11 /var/www/karta/frontend/web/index.php(17): yii\base\Application->run()
#12 {main}