{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9696","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9696/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9696/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9696/events","html_url":"https://github.com/yiisoft/yii2/issues/9696","id":106691286,"number":9696,"title":"yii/db/ActiveController error","user":{"login":"webwlsong","id":370389,"avatar_url":"https://avatars.githubusercontent.com/u/370389?v=3","gravatar_id":"","url":"https://api.github.com/users/webwlsong","html_url":"https://github.com/webwlsong","followers_url":"https://api.github.com/users/webwlsong/followers","following_url":"https://api.github.com/users/webwlsong/following{/other_user}","gists_url":"https://api.github.com/users/webwlsong/gists{/gist_id}","starred_url":"https://api.github.com/users/webwlsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webwlsong/subscriptions","organizations_url":"https://api.github.com/users/webwlsong/orgs","repos_url":"https://api.github.com/users/webwlsong/repos","events_url":"https://api.github.com/users/webwlsong/events{/privacy}","received_events_url":"https://api.github.com/users/webwlsong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-16T03:26:28Z","updated_at":"2015-09-16T03:56:13Z","closed_at":null,"body":"$scrap = Scrap::findAll(['first'=>0,'user_id'=>$user_id,'TO_DAYS(add_time)'=>TO_DAYS(NOW())]);\r\n\r\nerror:\r\nname: \"PHP Fatal Error\"\r\nmessage: \"Call to undefined function \\modules\\v1\\controllers\\TO_DAYS()\"\r\ncode: 1\r\ntype: \"yii\\base\\ErrorException\""},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/140618957","html_url":"https://github.com/yiisoft/yii2/issues/9696#issuecomment-140618957","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/9696","id":140618957,"user":{"login":"webwlsong","id":370389,"avatar_url":"https://avatars.githubusercontent.com/u/370389?v=3","gravatar_id":"","url":"https://api.github.com/users/webwlsong","html_url":"https://github.com/webwlsong","followers_url":"https://api.github.com/users/webwlsong/followers","following_url":"https://api.github.com/users/webwlsong/following{/other_user}","gists_url":"https://api.github.com/users/webwlsong/gists{/gist_id}","starred_url":"https://api.github.com/users/webwlsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webwlsong/subscriptions","organizations_url":"https://api.github.com/users/webwlsong/orgs","repos_url":"https://api.github.com/users/webwlsong/repos","events_url":"https://api.github.com/users/webwlsong/events{/privacy}","received_events_url":"https://api.github.com/users/webwlsong/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T03:56:13Z","updated_at":"2015-09-16T03:56:13Z","body":"TKS"}}