{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/7892","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/7892/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/7892/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/7892/events","html_url":"https://github.com/yiisoft/yii2/issues/7892","id":64672483,"number":7892,"title":"Setting  config/db.php 'attributes' to PDO::CASE_LOWER causes Yii to not work","user":{"login":"devalphabeta","id":8449843,"avatar_url":"https://avatars.githubusercontent.com/u/8449843?v=3","gravatar_id":"","url":"https://api.github.com/users/devalphabeta","html_url":"https://github.com/devalphabeta","followers_url":"https://api.github.com/users/devalphabeta/followers","following_url":"https://api.github.com/users/devalphabeta/following{/other_user}","gists_url":"https://api.github.com/users/devalphabeta/gists{/gist_id}","starred_url":"https://api.github.com/users/devalphabeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devalphabeta/subscriptions","organizations_url":"https://api.github.com/users/devalphabeta/orgs","repos_url":"https://api.github.com/users/devalphabeta/repos","events_url":"https://api.github.com/users/devalphabeta/events{/privacy}","received_events_url":"https://api.github.com/users/devalphabeta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-27T01:46:48Z","updated_at":"2015-03-27T07:21:46Z","closed_at":null,"body":"in config/db.php I am setting 'attributes'. \r\n   'attributes' => [\r\n        \\PDO::ATTR_CASE=>\\PDO::CASE_LOWER,\r\n        ]\r\n\r\nin /home/devalp5/public_html/yii2basic/vendor/yiisoft/yii2/base/Component.php at line 143\r\n\r\nthrow new UnknownPropertyException('Getting unknown property: ' . get_class($this) . '::' . $name);\r\n\r\nAlso, gii creates an empty model with PDO::CASE_LOWER"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/86853061","html_url":"https://github.com/yiisoft/yii2/issues/7892#issuecomment-86853061","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/7892","id":86853061,"user":{"login":"mdmunir","id":5828252,"avatar_url":"https://avatars.githubusercontent.com/u/5828252?v=3","gravatar_id":"","url":"https://api.github.com/users/mdmunir","html_url":"https://github.com/mdmunir","followers_url":"https://api.github.com/users/mdmunir/followers","following_url":"https://api.github.com/users/mdmunir/following{/other_user}","gists_url":"https://api.github.com/users/mdmunir/gists{/gist_id}","starred_url":"https://api.github.com/users/mdmunir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdmunir/subscriptions","organizations_url":"https://api.github.com/users/mdmunir/orgs","repos_url":"https://api.github.com/users/mdmunir/repos","events_url":"https://api.github.com/users/mdmunir/events{/privacy}","received_events_url":"https://api.github.com/users/mdmunir/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T07:21:46Z","updated_at":"2015-03-27T07:21:46Z","body":"What error and how you do that (write config)?"}}