{"action":"created","issue":{"url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/145","repository_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii","labels_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/145/comments","events_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/145/events","html_url":"https://github.com/mootensai/yii2-enhanced-gii/issues/145","id":321858123,"number":145,"title":"error with IO Generator (CRUD) generated files","user":{"login":"scryba","id":11487236,"avatar_url":"https://avatars3.githubusercontent.com/u/11487236?v=4","gravatar_id":"","url":"https://api.github.com/users/scryba","html_url":"https://github.com/scryba","followers_url":"https://api.github.com/users/scryba/followers","following_url":"https://api.github.com/users/scryba/following{/other_user}","gists_url":"https://api.github.com/users/scryba/gists{/gist_id}","starred_url":"https://api.github.com/users/scryba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scryba/subscriptions","organizations_url":"https://api.github.com/users/scryba/orgs","repos_url":"https://api.github.com/users/scryba/repos","events_url":"https://api.github.com/users/scryba/events{/privacy}","received_events_url":"https://api.github.com/users/scryba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-10T08:55:27Z","updated_at":"2018-05-10T09:39:32Z","closed_at":"2018-05-10T09:39:32Z","author_association":"NONE","body":"I keep getting this error\r\n\r\n    ::1:51393 [500]: /hello/ - Method yii\\widgets\\ActiveField::__toString() must not throw an exception, caught Error: Class 'common\\models\\Yii' not found in F:\\yii2\\helloproject\\backend\\views\\hello\\_search.php on line 0\r\n\r\n    ::1:51312 [500]: /hello/create - Method yii\\widgets\\ActiveField::__toString() must not throw an exception, caught Error: Class 'common\\models\\Yii' not found in F:\\\\yii2\\helloproject\\backend\\views\\hello\\_form.php on line 0\r\n\r\nI generated with IO Generator (CRUD)\r\n\r\nif remove codes below in `F:\\\\yii2\\helloproject\\backend\\views\\hello\\index.php` works fine.\r\n\r\n    <?php echo $this->render('_search', ['model' => $searchModel]); ?>\r\n\r\n    <div class=\"search-form\" style=\"display:none\">\r\n        <?=  $this->render('_search', ['model' => $searchModel]); ?>\r\n    </div>\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/comments/388005494","html_url":"https://github.com/mootensai/yii2-enhanced-gii/issues/145#issuecomment-388005494","issue_url":"https://api.github.com/repos/mootensai/yii2-enhanced-gii/issues/145","id":388005494,"user":{"login":"scryba","id":11487236,"avatar_url":"https://avatars3.githubusercontent.com/u/11487236?v=4","gravatar_id":"","url":"https://api.github.com/users/scryba","html_url":"https://github.com/scryba","followers_url":"https://api.github.com/users/scryba/followers","following_url":"https://api.github.com/users/scryba/following{/other_user}","gists_url":"https://api.github.com/users/scryba/gists{/gist_id}","starred_url":"https://api.github.com/users/scryba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scryba/subscriptions","organizations_url":"https://api.github.com/users/scryba/orgs","repos_url":"https://api.github.com/users/scryba/repos","events_url":"https://api.github.com/users/scryba/events{/privacy}","received_events_url":"https://api.github.com/users/scryba/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T09:39:32Z","updated_at":"2018-05-10T09:39:32Z","author_association":"NONE","body":"Found the problem.\r\nAlways make sure the model extending the base model should have defined;\r\n\r\n ` use Yii;`"}}
{"actor":{"display_login":"scryba"}}