Closed sluchznak closed 8 years ago
2015-09-30 16:02:01 [127.0.0.1][1][qkmdmv8gphir0r5op2ts870bs7][error][yii\base\ErrorException:8] exception 'yii\base\ErrorException' with message 'Trying to get property of non-object' in /Users/Yura/PhpstormProjects/realty-admin/vendor/lajax/yii2-translate-manager/models/searches/LanguageSourceSearch.php:87 Stack trace: #0 /Users/Yura/PhpstormProjects/realty-admin/vendor/lajax/yii2-translate-manager/models/searches/LanguageSourceSearch.php(87): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/Users/Yura/Php...', 87, Array) #1 [internal function]: lajax\translatemanager\models\searches\LanguageSourceSearch->lajax\translatemanager\models\searches\{closure}(Object(yii\db\ActiveQuery)) #2 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(494): call_user_func(Object(Closure), Object(yii\db\ActiveQuery)) #3 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(407): yii\db\ActiveQuery->joinWithRelations(Object(lajax\translatemanager\models\LanguageSource), Array, 'LEFT JOIN') #4 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(145): yii\db\ActiveQuery->buildJoinWith() #5 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/QueryBuilder.php(88): yii\db\ActiveQuery->prepare(Object(yii\db\pgsql\QueryBuilder)) #6 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(324): yii\db\QueryBuilder->build(Object(yii\db\ActiveQuery)) #7 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/Query.php(382): yii\db\ActiveQuery->createCommand(NULL) #8 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(339): yii\db\Query->queryScalar('COUNT(*)', NULL) #9 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/Query.php(296): yii\db\ActiveQuery->queryScalar('COUNT(*)', NULL) #10 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/ActiveDataProvider.php(165): yii\db\Query->count('*', NULL) #11 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(147): yii\data\ActiveDataProvider->prepareTotalCount() #12 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/ActiveDataProvider.php(105): yii\data\BaseDataProvider->getTotalCount() #13 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(79): yii\data\ActiveDataProvider->prepareModels() #14 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(92): yii\data\BaseDataProvider->prepare() #15 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(133): yii\data\BaseDataProvider->getModels() #16 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(178): yii\data\BaseDataProvider->getCount() #17 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(149): yii\widgets\BaseListView->renderSummary() #18 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/grid/GridView.php(313): yii\widgets\BaseListView->renderSection('{summary}') #19 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(126): yii\grid\GridView->renderSection('{summary}') #20 [internal function]: yii\widgets\BaseListView->yii\widgets\{closure}(Array) #21 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(129): preg_replace_callback('/{\\w+}/', Object(Closure), '{summary}\n{item...') #22 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/grid/GridView.php(288): yii\widgets\BaseListView->run() #23 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Widget.php(98): yii\grid\GridView->run() #24 /Users/Yura/PhpstormProjects/realty-admin/modules/translatemanager/views/language/translate.php(67): yii\base\Widget::widget(Array) #25 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/View.php(325): require('/Users/Yura/Php...') #26 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/View.php(247): yii\base\View->renderPhpFile('/Users/Yura/Php...', Array) #27 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/View.php(149): yii\base\View->renderFile('/Users/Yura/Php...', Array, Object(lajax\translatemanager\controllers\LanguageController)) #28 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Controller.php(371): yii\base\View->render('translate', Array, Object(lajax\translatemanager\controllers\LanguageController)) #29 /Users/Yura/PhpstormProjects/realty-admin/vendor/lajax/yii2-translate-manager/controllers/actions/TranslateAction.php(40): yii\base\Controller->render('translate', Array) #30 [internal function]: lajax\translatemanager\controllers\actions\TranslateAction->run() #31 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Action.php(92): call_user_func_array(Array, Array) #32 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\Action->runWithParams(Array) #33 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Module.php(455): yii\base\Controller->runAction('translate', Array) #34 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/web/Application.php(84): yii\base\Module->runAction('translatemanage...', Array) #35 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request)) #36 /Users/Yura/PhpstormProjects/realty-admin/web/index.php(12): yii\base\Application->run() #37 {main} 2015-09-30 16:02:01 [127.0.0.1][1][qkmdmv8gphir0r5op2ts870bs7][info][application] $_GET = [ 'LanguageSourceSearch' => [ 'category' => '' 'message' => '' 'translation' => 'язык' ] 'language_id' => 'ru-RU' ] $_COOKIE = [ '_csrf' => '8a7e9866facfad41cac827ee244031e8ee2b4adee5d930bc734c68cba6548175a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"W5Vz9_EXKrXVOi_IPMbI58UpVXDOECc5\";}' 'PHPSESSID' => 'qkmdmv8gphir0r5op2ts870bs7' '_identity' => '118bf8435d6762394b86d6dee0e57a8774b2f0e8f6f913a9f00b5a6ce7bb2eaaa:2:{i:0;s:9:\"_identity\";i:1;s:17:\"[1,false,2592000]\";}' ] $_SESSION = [ '__flash' => [ 'TM-language__id' => 1 ] '__returnUrl' => '/' '__id' => 1 'TM-language__id' => 'ru-RU' ] $_SERVER = [ 'USER' => 'Yura' 'HOME' => '/Users/Yura' 'FCGI_ROLE' => 'RESPONDER' 'SCRIPT_FILENAME' => '/Users/Yura/PhpstormProjects/realty-admin/web/index.php' 'QUERY_STRING' => 'LanguageSourceSearch%5Bcategory%5D=&LanguageSourceSearch%5Bmessage%5D=&LanguageSourceSearch%5Btranslation%5D=%D1%8F%D0%B7%D1%8B%D0%BA&language_id=ru-RU' 'REQUEST_METHOD' => 'GET' 'CONTENT_TYPE' => '' 'CONTENT_LENGTH' => '' 'SCRIPT_NAME' => '/index.php' 'REQUEST_URI' => '/translatemanager/language/translate?LanguageSourceSearch%5Bcategory%5D=&LanguageSourceSearch%5Bmessage%5D=&LanguageSourceSearch%5Btranslation%5D=%D1%8F%D0%B7%D1%8B%D0%BA&language_id=ru-RU' 'DOCUMENT_URI' => '/index.php' 'DOCUMENT_ROOT' => '/Users/Yura/PhpstormProjects/realty-admin/web' 'SERVER_PROTOCOL' => 'HTTP/1.1' 'GATEWAY_INTERFACE' => 'CGI/1.1' 'SERVER_SOFTWARE' => 'nginx/1.8.0' 'REMOTE_ADDR' => '127.0.0.1' 'REMOTE_PORT' => '49863' 'SERVER_ADDR' => '127.0.0.1' 'SERVER_PORT' => '80' 'SERVER_NAME' => 'admin.realty.local' 'HTTP_HOST' => 'admin.realty.local' 'HTTP_CONNECTION' => 'keep-alive' 'HTTP_CACHE_CONTROL' => 'max-age=0' 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' 'HTTP_UPGRADE_INSECURE_REQUESTS' => '1' 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36' 'HTTP_REFERER' => 'http://admin.realty.local/translatemanager/language/translate?language_id=ru-RU' 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, sdch' 'HTTP_ACCEPT_LANGUAGE' => 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4' 'HTTP_COOKIE' => '_csrf=8a7e9866facfad41cac827ee244031e8ee2b4adee5d930bc734c68cba6548175a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22W5Vz9_EXKrXVOi_IPMbI58UpVXDOECc5%22%3B%7D; PHPSESSID=qkmdmv8gphir0r5op2ts870bs7; _identity=118bf8435d6762394b86d6dee0e57a8774b2f0e8f6f913a9f00b5a6ce7bb2eaaa%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A17%3A%22%5B1%2Cfalse%2C2592000%5D%22%3B%7D' 'PHP_SELF' => '/index.php' 'REQUEST_TIME_FLOAT' => 1443610921.3072 'REQUEST_TIME' => 1443610921 ]
Hello, I wanted to override the module and override the views for my skin
Hello, I wanted to override the module and override the views for my skin