{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/10644","labels_url":"https://api.github.com/repos/laravel/framework/issues/10644/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/10644/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/10644/events","html_url":"https://github.com/laravel/framework/issues/10644","id":112000413,"number":10644,"title":"file generated by config:cache has an error in it","user":{"login":"kfirba","id":8510486,"avatar_url":"https://avatars.githubusercontent.com/u/8510486?v=3","gravatar_id":"","url":"https://api.github.com/users/kfirba","html_url":"https://github.com/kfirba","followers_url":"https://api.github.com/users/kfirba/followers","following_url":"https://api.github.com/users/kfirba/following{/other_user}","gists_url":"https://api.github.com/users/kfirba/gists{/gist_id}","starred_url":"https://api.github.com/users/kfirba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfirba/subscriptions","organizations_url":"https://api.github.com/users/kfirba/orgs","repos_url":"https://api.github.com/users/kfirba/repos","events_url":"https://api.github.com/users/kfirba/events{/privacy}","received_events_url":"https://api.github.com/users/kfirba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-18T04:29:16Z","updated_at":"2015-10-18T04:40:08Z","closed_at":"2015-10-18T04:40:08Z","body":"Hello.\r\n\r\nwhen we use the config:cache command we generate a `config.php` file which has an error in it. It generates at some point a line like:\r\n\r\n```\r\nClosure::__set_state\r\n```\r\n\r\nand it simply returns an error that `__set_state` doesn't exist. The thing is that it now breaks the request. How can I fix this?"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/148977470","html_url":"https://github.com/laravel/framework/issues/10644#issuecomment-148977470","issue_url":"https://api.github.com/repos/laravel/framework/issues/10644","id":148977470,"user":{"login":"kfirba","id":8510486,"avatar_url":"https://avatars.githubusercontent.com/u/8510486?v=3","gravatar_id":"","url":"https://api.github.com/users/kfirba","html_url":"https://github.com/kfirba","followers_url":"https://api.github.com/users/kfirba/followers","following_url":"https://api.github.com/users/kfirba/following{/other_user}","gists_url":"https://api.github.com/users/kfirba/gists{/gist_id}","starred_url":"https://api.github.com/users/kfirba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfirba/subscriptions","organizations_url":"https://api.github.com/users/kfirba/orgs","repos_url":"https://api.github.com/users/kfirba/repos","events_url":"https://api.github.com/users/kfirba/events{/privacy}","received_events_url":"https://api.github.com/users/kfirba/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T04:40:08Z","updated_at":"2015-10-18T04:40:08Z","body":"Found many references of this issue online. "}}