{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/2800","repository_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/2800/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/2800/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/2800/events","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/2800","id":322628258,"node_id":"MDU6SXNzdWUzMjI2MjgyNTg=","number":2800,"title":"fos:user:promote error.","user":{"login":"fabionvs","id":8305479,"node_id":"MDQ6VXNlcjgzMDU0Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/8305479?v=4","gravatar_id":"","url":"https://api.github.com/users/fabionvs","html_url":"https://github.com/fabionvs","followers_url":"https://api.github.com/users/fabionvs/followers","following_url":"https://api.github.com/users/fabionvs/following{/other_user}","gists_url":"https://api.github.com/users/fabionvs/gists{/gist_id}","starred_url":"https://api.github.com/users/fabionvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabionvs/subscriptions","organizations_url":"https://api.github.com/users/fabionvs/orgs","repos_url":"https://api.github.com/users/fabionvs/repos","events_url":"https://api.github.com/users/fabionvs/events{/privacy}","received_events_url":"https://api.github.com/users/fabionvs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-13T21:21:17Z","updated_at":"2018-07-09T18:39:18Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI have upgraded my symfony version to 3.4.8 and FosUserBundle is getting error when I am going to promote a user permission.\r\nWhen I run `php7.1 fos:user:promote`, I get the following error:\r\n\r\n```\r\n Error thrown while running command \"fos:user:promote\". \r\nMessage: \"Warning: in_array() expects parameter 2 to be array, null given\" [\"error\" => Symfony\\Component\\Debug\\Exception\\ContextErrorException { …},\"command\" => \"fos:user:promote\",\"message\" => \r\n\"Warning: in_array() expects parameter 2 to be array, null given\"] []\r\n\r\nIn User.php line 130:\r\n                                                                   \r\n  Warning: in_array() expects parameter 2 to be array, null given  \r\n```\r\n                                                                   \r\ncomposer.json\r\n`\r\n\"php\": \">=7.1\",\r\n\"symfony/symfony\": \"3.4.*\",\r\n\"friendsofsymfony/user-bundle\": \"~2.0@dev\",\r\n`\r\nWhat it should it be?"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/comments/403579234","html_url":"https://github.com/FriendsOfSymfony/FOSUserBundle/issues/2800#issuecomment-403579234","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSUserBundle/issues/2800","id":403579234,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzU3OTIzNA==","user":{"login":"Devtronic","id":2362734,"node_id":"MDQ6VXNlcjIzNjI3MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2362734?v=4","gravatar_id":"","url":"https://api.github.com/users/Devtronic","html_url":"https://github.com/Devtronic","followers_url":"https://api.github.com/users/Devtronic/followers","following_url":"https://api.github.com/users/Devtronic/following{/other_user}","gists_url":"https://api.github.com/users/Devtronic/gists{/gist_id}","starred_url":"https://api.github.com/users/Devtronic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Devtronic/subscriptions","organizations_url":"https://api.github.com/users/Devtronic/orgs","repos_url":"https://api.github.com/users/Devtronic/repos","events_url":"https://api.github.com/users/Devtronic/events{/privacy}","received_events_url":"https://api.github.com/users/Devtronic/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T18:39:18Z","updated_at":"2018-07-09T18:39:18Z","author_association":"NONE","body":"@fabionvs Still getting the error? If no, please close the issue"}}
{"actor":{"display_login":"Devtronic"}}