{"action":"created","issue":{"url":"https://api.github.com/repos/alexweissman/UserFrosting/issues/318","labels_url":"https://api.github.com/repos/alexweissman/UserFrosting/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/alexweissman/UserFrosting/issues/318/comments","events_url":"https://api.github.com/repos/alexweissman/UserFrosting/issues/318/events","html_url":"https://github.com/alexweissman/UserFrosting/issues/318","id":80523110,"number":318,"title":"dev-0.3.0 mistakes","user":{"login":"X-Anonymous-Y","id":2701528,"avatar_url":"https://avatars.githubusercontent.com/u/2701528?v=3","gravatar_id":"","url":"https://api.github.com/users/X-Anonymous-Y","html_url":"https://github.com/X-Anonymous-Y","followers_url":"https://api.github.com/users/X-Anonymous-Y/followers","following_url":"https://api.github.com/users/X-Anonymous-Y/following{/other_user}","gists_url":"https://api.github.com/users/X-Anonymous-Y/gists{/gist_id}","starred_url":"https://api.github.com/users/X-Anonymous-Y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X-Anonymous-Y/subscriptions","organizations_url":"https://api.github.com/users/X-Anonymous-Y/orgs","repos_url":"https://api.github.com/users/X-Anonymous-Y/repos","events_url":"https://api.github.com/users/X-Anonymous-Y/events{/privacy}","received_events_url":"https://api.github.com/users/X-Anonymous-Y/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexweissman/UserFrosting/labels/compatibility","name":"compatibility","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-25T12:34:09Z","updated_at":"2015-05-25T18:17:21Z","closed_at":null,"body":"Hi Alex, I like and enjoy working with UF.\r\nI'm just not the best in programming.\r\nI wanted to try the new structure \"dev-0.3.0\" but getting since the last update a few mistakes.\r\nCan you help me?\r\n\r\nI'm sorry for the bad english!\r\n\r\nLog:\r\nNotice: Undefined index: plugin in XXX\\dev-0.3.0\\userfrosting\\models\\mysql\\MySqlSiteSettings.php on line 28\r\n\r\nFatal error: Uncaught exception 'Exception' with message 'The value 'default_locale' does not exist in the core userfrosting settings.' in XXX\\dev-0.3.0\\userfrosting\\models\\mysql\\MySqlSiteSettings.php:71 Stack trace: #0 XXX\\dev-0.3.0\\userfrosting\\config-userfrosting.php(109): UserFrosting\\MySqlSiteSettings->__get('default_locale') #1 XXX\\dev-0.3.0\\public\\index.php(2): require_once('XXX...') #2 {main} thrown in XXX\\dev-0.3.0\\userfrosting\\models\\mysql\\MySqlSiteSettings.php on line 71\r\n\r\n\r\nand if I change the line:\r\n     \\ Fortress \\ Message Translator :: setTranslationTable ($ app-> config (\"locales.path\") \"/\" $ app-> site-> default_locale \".php\"...);\r\n\r\nto.\r\n     \\ Fortress \\ Message Translator :: setTranslationTable ($ app-> config (\"locales.path\") \"/en_US.php\".);\r\n\r\nThen comes a new error message:\r\nNotice: Undefined index: plugin in XXX\\dev-0.3.0\\userfrosting\\models\\mysql\\MySqlSiteSettings.php on line 28\r\nSlim Application Error\r\nThe application could not run because of the following error:\r\n\r\nDetails\r\n\r\nType: Exception\r\nMessage: The value 'author' does not exist in the core userfrosting settings.\r\nFile: XXX\\dev-0.3.0\\userfrosting\\models\\mysql\\MySqlSiteSettings.php\r\nLine: 71\r\nTrace\r\n\r\n#0 XXX\\dev-0.3.0\\userfrosting\\controllers\\accountcontroller.php(35): UserFrosting\\MySqlSiteSettings->__get('author')\r\n#1 XXX\\dev-0.3.0\\public\\index.php(53): UserFrosting\\AccountController->pageLogin()\r\n#2 [internal function]: {closure}('login')\r\n#3 XXX\\dev-0.3.0\\userfrosting\\vendor\\slim\\slim\\Slim\\Route.php(468): call_user_func_array(Object(Closure), Array)\r\n#4 XXX\\dev-0.3.0\\userfrosting\\vendor\\slim\\slim\\Slim\\Slim.php(1357): Slim\\Route->dispatch()\r\n#5 XXX\\dev-0.3.0\\userfrosting\\vendor\\slim\\slim\\Slim\\Middleware\\Flash.php(85): Slim\\Slim->call()\r\n#6 XXX\\dev-0.3.0\\userfrosting\\vendor\\slim\\slim\\Slim\\Middleware\\MethodOverride.php(92): Slim\\Middleware\\Flash->call()\r\n#7 XXX\\dev-0.3.0\\userfrosting\\auth\\csrfguard.php(51): Slim\\Middleware\\MethodOverride->call()\r\n#8 XXX\\dev-0.3.0\\userfrosting\\vendor\\slim\\slim\\Slim\\Middleware\\PrettyExceptions.php(67): Slim\\Extras\\Middleware\\CsrfGuard->call()\r\n#9 XXX\\dev-0.3.0\\userfrosting\\vendor\\slim\\slim\\Slim\\Slim.php(1302): Slim\\Middleware\\PrettyExceptions->call()\r\n#10 XXX\\dev-0.3.0\\public\\index.php(182): Slim\\Slim->run()\r\n#11 {main}\r\n\r\nPHP: 5.6.8\r\nMySQL: 5.6.24"},"comment":{"url":"https://api.github.com/repos/alexweissman/UserFrosting/issues/comments/105284385","html_url":"https://github.com/alexweissman/UserFrosting/issues/318#issuecomment-105284385","issue_url":"https://api.github.com/repos/alexweissman/UserFrosting/issues/318","id":105284385,"user":{"login":"X-Anonymous-Y","id":2701528,"avatar_url":"https://avatars.githubusercontent.com/u/2701528?v=3","gravatar_id":"","url":"https://api.github.com/users/X-Anonymous-Y","html_url":"https://github.com/X-Anonymous-Y","followers_url":"https://api.github.com/users/X-Anonymous-Y/followers","following_url":"https://api.github.com/users/X-Anonymous-Y/following{/other_user}","gists_url":"https://api.github.com/users/X-Anonymous-Y/gists{/gist_id}","starred_url":"https://api.github.com/users/X-Anonymous-Y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X-Anonymous-Y/subscriptions","organizations_url":"https://api.github.com/users/X-Anonymous-Y/orgs","repos_url":"https://api.github.com/users/X-Anonymous-Y/repos","events_url":"https://api.github.com/users/X-Anonymous-Y/events{/privacy}","received_events_url":"https://api.github.com/users/X-Anonymous-Y/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T18:17:21Z","updated_at":"2015-05-25T18:17:21Z","body":"okay or not xD\r\n\r\non:\r\nforgot-password\r\nand:\r\nresend-activation\r\n\r\ncomes the error:\r\n\r\n[25-May-2015 20:11:54 Europe/Berlin] PHP Fatal error:  Cannot use object of type UserFrosting\\MySqlSiteSettings as array in XXX\\dev-0.3.0\\userfrosting\\controllers\\accountcontroller.php on line 84\r\n\r\n[25-May-2015 20:11:54 Europe/Berlin] Error (1) in XXX\\dev-0.3.0\\userfrosting\\controllers\\accountcontroller.php on line 84: Cannot use object of type UserFrosting\\MySqlSiteSettings as array\r\n\r\n[25-May-2015 20:12:24 Europe/Berlin] PHP Fatal error:  Cannot use object of type UserFrosting\\MySqlSiteSettings as array in XXX\\dev-0.3.0\\userfrosting\\controllers\\accountcontroller.php on line 101\r\n\r\n[25-May-2015 20:12:24 Europe/Berlin] Error (1) in XXX\\dev-0.3.0\\userfrosting\\controllers\\accountcontroller.php on line 101: Cannot use object of type UserFrosting\\MySqlSiteSettings as array\r\n\r\n\r\nbut I not need this at the moment :P"}}