{"action":"opened","issue":{"url":"https://api.github.com/repos/lajax/yii2-translate-manager/issues/38","labels_url":"https://api.github.com/repos/lajax/yii2-translate-manager/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/lajax/yii2-translate-manager/issues/38/comments","events_url":"https://api.github.com/repos/lajax/yii2-translate-manager/issues/38/events","html_url":"https://github.com/lajax/yii2-translate-manager/issues/38","id":109064642,"number":38,"title":"Error if extend Module","user":{"login":"sluchznak","id":4091442,"avatar_url":"https://avatars.githubusercontent.com/u/4091442?v=3","gravatar_id":"","url":"https://api.github.com/users/sluchznak","html_url":"https://github.com/sluchznak","followers_url":"https://api.github.com/users/sluchznak/followers","following_url":"https://api.github.com/users/sluchznak/following{/other_user}","gists_url":"https://api.github.com/users/sluchznak/gists{/gist_id}","starred_url":"https://api.github.com/users/sluchznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sluchznak/subscriptions","organizations_url":"https://api.github.com/users/sluchznak/orgs","repos_url":"https://api.github.com/users/sluchznak/repos","events_url":"https://api.github.com/users/sluchznak/events{/privacy}","received_events_url":"https://api.github.com/users/sluchznak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T11:10:06Z","updated_at":"2015-09-30T11:10:06Z","closed_at":null,"body":"```\r\n\r\n2015-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\r\nStack trace:\r\n#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)\r\n#1 [internal function]: lajax\\translatemanager\\models\\searches\\LanguageSourceSearch->lajax\\translatemanager\\models\\searches\\{closure}(Object(yii\\db\\ActiveQuery))\r\n#2 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(494): call_user_func(Object(Closure), Object(yii\\db\\ActiveQuery))\r\n#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')\r\n#4 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(145): yii\\db\\ActiveQuery->buildJoinWith()\r\n#5 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/QueryBuilder.php(88): yii\\db\\ActiveQuery->prepare(Object(yii\\db\\pgsql\\QueryBuilder))\r\n#6 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(324): yii\\db\\QueryBuilder->build(Object(yii\\db\\ActiveQuery))\r\n#7 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/Query.php(382): yii\\db\\ActiveQuery->createCommand(NULL)\r\n#8 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/ActiveQuery.php(339): yii\\db\\Query->queryScalar('COUNT(*)', NULL)\r\n#9 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/db/Query.php(296): yii\\db\\ActiveQuery->queryScalar('COUNT(*)', NULL)\r\n#10 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/ActiveDataProvider.php(165): yii\\db\\Query->count('*', NULL)\r\n#11 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(147): yii\\data\\ActiveDataProvider->prepareTotalCount()\r\n#12 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/ActiveDataProvider.php(105): yii\\data\\BaseDataProvider->getTotalCount()\r\n#13 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(79): yii\\data\\ActiveDataProvider->prepareModels()\r\n#14 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(92): yii\\data\\BaseDataProvider->prepare()\r\n#15 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/data/BaseDataProvider.php(133): yii\\data\\BaseDataProvider->getModels()\r\n#16 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(178): yii\\data\\BaseDataProvider->getCount()\r\n#17 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(149): yii\\widgets\\BaseListView->renderSummary()\r\n#18 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/grid/GridView.php(313): yii\\widgets\\BaseListView->renderSection('{summary}')\r\n#19 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(126): yii\\grid\\GridView->renderSection('{summary}')\r\n#20 [internal function]: yii\\widgets\\BaseListView->yii\\widgets\\{closure}(Array)\r\n#21 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/widgets/BaseListView.php(129): preg_replace_callback('/{\\\\w+}/', Object(Closure), '{summary}\\n{item...')\r\n#22 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/grid/GridView.php(288): yii\\widgets\\BaseListView->run()\r\n#23 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Widget.php(98): yii\\grid\\GridView->run()\r\n#24 /Users/Yura/PhpstormProjects/realty-admin/modules/translatemanager/views/language/translate.php(67): yii\\base\\Widget::widget(Array)\r\n#25 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/View.php(325): require('/Users/Yura/Php...')\r\n#26 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/View.php(247): yii\\base\\View->renderPhpFile('/Users/Yura/Php...', Array)\r\n#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))\r\n#28 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Controller.php(371): yii\\base\\View->render('translate', Array, Object(lajax\\translatemanager\\controllers\\LanguageController))\r\n#29 /Users/Yura/PhpstormProjects/realty-admin/vendor/lajax/yii2-translate-manager/controllers/actions/TranslateAction.php(40): yii\\base\\Controller->render('translate', Array)\r\n#30 [internal function]: lajax\\translatemanager\\controllers\\actions\\TranslateAction->run()\r\n#31 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Action.php(92): call_user_func_array(Array, Array)\r\n#32 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Controller.php(151): yii\\base\\Action->runWithParams(Array)\r\n#33 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Module.php(455): yii\\base\\Controller->runAction('translate', Array)\r\n#34 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/web/Application.php(84): yii\\base\\Module->runAction('translatemanage...', Array)\r\n#35 /Users/Yura/PhpstormProjects/realty-admin/vendor/yiisoft/yii2/base/Application.php(375): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))\r\n#36 /Users/Yura/PhpstormProjects/realty-admin/web/index.php(12): yii\\base\\Application->run()\r\n#37 {main}\r\n2015-09-30 16:02:01 [127.0.0.1][1][qkmdmv8gphir0r5op2ts870bs7][info][application] $_GET = [\r\n    'LanguageSourceSearch' => [\r\n        'category' => ''\r\n        'message' => ''\r\n        'translation' => 'язык'\r\n    ]\r\n    'language_id' => 'ru-RU'\r\n]\r\n\r\n$_COOKIE = [\r\n    '_csrf' => '8a7e9866facfad41cac827ee244031e8ee2b4adee5d930bc734c68cba6548175a:2:{i:0;s:5:\\\"_csrf\\\";i:1;s:32:\\\"W5Vz9_EXKrXVOi_IPMbI58UpVXDOECc5\\\";}'\r\n    'PHPSESSID' => 'qkmdmv8gphir0r5op2ts870bs7'\r\n    '_identity' => '118bf8435d6762394b86d6dee0e57a8774b2f0e8f6f913a9f00b5a6ce7bb2eaaa:2:{i:0;s:9:\\\"_identity\\\";i:1;s:17:\\\"[1,false,2592000]\\\";}'\r\n]\r\n\r\n$_SESSION = [\r\n    '__flash' => [\r\n        'TM-language__id' => 1\r\n    ]\r\n    '__returnUrl' => '/'\r\n    '__id' => 1\r\n    'TM-language__id' => 'ru-RU'\r\n]\r\n\r\n$_SERVER = [\r\n    'USER' => 'Yura'\r\n    'HOME' => '/Users/Yura'\r\n    'FCGI_ROLE' => 'RESPONDER'\r\n    'SCRIPT_FILENAME' => '/Users/Yura/PhpstormProjects/realty-admin/web/index.php'\r\n    'QUERY_STRING' => 'LanguageSourceSearch%5Bcategory%5D=&LanguageSourceSearch%5Bmessage%5D=&LanguageSourceSearch%5Btranslation%5D=%D1%8F%D0%B7%D1%8B%D0%BA&language_id=ru-RU'\r\n    'REQUEST_METHOD' => 'GET'\r\n    'CONTENT_TYPE' => ''\r\n    'CONTENT_LENGTH' => ''\r\n    'SCRIPT_NAME' => '/index.php'\r\n    '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'\r\n    'DOCUMENT_URI' => '/index.php'\r\n    'DOCUMENT_ROOT' => '/Users/Yura/PhpstormProjects/realty-admin/web'\r\n    'SERVER_PROTOCOL' => 'HTTP/1.1'\r\n    'GATEWAY_INTERFACE' => 'CGI/1.1'\r\n    'SERVER_SOFTWARE' => 'nginx/1.8.0'\r\n    'REMOTE_ADDR' => '127.0.0.1'\r\n    'REMOTE_PORT' => '49863'\r\n    'SERVER_ADDR' => '127.0.0.1'\r\n    'SERVER_PORT' => '80'\r\n    'SERVER_NAME' => 'admin.realty.local'\r\n    'HTTP_HOST' => 'admin.realty.local'\r\n    'HTTP_CONNECTION' => 'keep-alive'\r\n    'HTTP_CACHE_CONTROL' => 'max-age=0'\r\n    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'\r\n    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'\r\n    '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'\r\n    'HTTP_REFERER' => 'http://admin.realty.local/translatemanager/language/translate?language_id=ru-RU'\r\n    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, sdch'\r\n    'HTTP_ACCEPT_LANGUAGE' => 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4'\r\n    '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'\r\n    'PHP_SELF' => '/index.php'\r\n    'REQUEST_TIME_FLOAT' => 1443610921.3072\r\n    'REQUEST_TIME' => 1443610921\r\n]\r\n\r\n\r\n```"}}