{"action":"created","issue":{"url":"https://api.github.com/repos/airani/wp-auto-upload/issues/20","repository_url":"https://api.github.com/repos/airani/wp-auto-upload","labels_url":"https://api.github.com/repos/airani/wp-auto-upload/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/airani/wp-auto-upload/issues/20/comments","events_url":"https://api.github.com/repos/airani/wp-auto-upload/issues/20/events","html_url":"https://github.com/airani/wp-auto-upload/issues/20","id":215674814,"number":20,"title":"Updated Plugin: Error Occurs on Activation","user":{"login":"Phenie","id":10969230,"avatar_url":"https://avatars0.githubusercontent.com/u/10969230?v=3","gravatar_id":"","url":"https://api.github.com/users/Phenie","html_url":"https://github.com/Phenie","followers_url":"https://api.github.com/users/Phenie/followers","following_url":"https://api.github.com/users/Phenie/following{/other_user}","gists_url":"https://api.github.com/users/Phenie/gists{/gist_id}","starred_url":"https://api.github.com/users/Phenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phenie/subscriptions","organizations_url":"https://api.github.com/users/Phenie/orgs","repos_url":"https://api.github.com/users/Phenie/repos","events_url":"https://api.github.com/users/Phenie/events{/privacy}","received_events_url":"https://api.github.com/users/Phenie/received_events","type":"User","site_admin":false},"labels":[{"id":40932733,"url":"https://api.github.com/repos/airani/wp-auto-upload/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"airani","id":438573,"avatar_url":"https://avatars1.githubusercontent.com/u/438573?v=3","gravatar_id":"","url":"https://api.github.com/users/airani","html_url":"https://github.com/airani","followers_url":"https://api.github.com/users/airani/followers","following_url":"https://api.github.com/users/airani/following{/other_user}","gists_url":"https://api.github.com/users/airani/gists{/gist_id}","starred_url":"https://api.github.com/users/airani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airani/subscriptions","organizations_url":"https://api.github.com/users/airani/orgs","repos_url":"https://api.github.com/users/airani/repos","events_url":"https://api.github.com/users/airani/events{/privacy}","received_events_url":"https://api.github.com/users/airani/received_events","type":"User","site_admin":false},"assignees":[{"login":"airani","id":438573,"avatar_url":"https://avatars1.githubusercontent.com/u/438573?v=3","gravatar_id":"","url":"https://api.github.com/users/airani","html_url":"https://github.com/airani","followers_url":"https://api.github.com/users/airani/followers","following_url":"https://api.github.com/users/airani/following{/other_user}","gists_url":"https://api.github.com/users/airani/gists{/gist_id}","starred_url":"https://api.github.com/users/airani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airani/subscriptions","organizations_url":"https://api.github.com/users/airani/orgs","repos_url":"https://api.github.com/users/airani/repos","events_url":"https://api.github.com/users/airani/events{/privacy}","received_events_url":"https://api.github.com/users/airani/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/airani/wp-auto-upload/milestones/3","html_url":"https://github.com/airani/wp-auto-upload/milestone/3","labels_url":"https://api.github.com/repos/airani/wp-auto-upload/milestones/3/labels","id":2401699,"number":3,"title":"v3.1.1","description":null,"creator":{"login":"airani","id":438573,"avatar_url":"https://avatars1.githubusercontent.com/u/438573?v=3","gravatar_id":"","url":"https://api.github.com/users/airani","html_url":"https://github.com/airani","followers_url":"https://api.github.com/users/airani/followers","following_url":"https://api.github.com/users/airani/following{/other_user}","gists_url":"https://api.github.com/users/airani/gists{/gist_id}","starred_url":"https://api.github.com/users/airani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airani/subscriptions","organizations_url":"https://api.github.com/users/airani/orgs","repos_url":"https://api.github.com/users/airani/repos","events_url":"https://api.github.com/users/airani/events{/privacy}","received_events_url":"https://api.github.com/users/airani/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2017-03-21T18:46:15Z","updated_at":"2017-03-21T19:26:38Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-03-21T09:27:08Z","updated_at":"2017-03-21T19:26:38Z","closed_at":"2017-03-21T19:26:38Z","body":"Hi there,\r\n\r\nI have loved this plugin for many years and updated to v3.1 yesterday only to find there seems to be an error. Perhaps it's just my setup, but activating the plugin causes the following error:\r\n\r\n```\r\nPlugin could not be activated because it triggered a fatal error.\r\nParse error: syntax error, unexpected '[' in .../wp-content/plugins/auto-upload-images/src/ImageUploader.php on line 37\r\n```\r\n\r\nWordpress is up to date at 4.7.3\r\n\r\nIt seems to be an array calling [0] where the error is occurring.\r\nI attempted to remove the [0] which fixed the error, but instead broke the upload URL.\r\n\r\nI hope this can be fixed!"},"comment":{"url":"https://api.github.com/repos/airani/wp-auto-upload/issues/comments/288191395","html_url":"https://github.com/airani/wp-auto-upload/issues/20#issuecomment-288191395","issue_url":"https://api.github.com/repos/airani/wp-auto-upload/issues/20","id":288191395,"user":{"login":"airani","id":438573,"avatar_url":"https://avatars1.githubusercontent.com/u/438573?v=3","gravatar_id":"","url":"https://api.github.com/users/airani","html_url":"https://github.com/airani","followers_url":"https://api.github.com/users/airani/followers","following_url":"https://api.github.com/users/airani/following{/other_user}","gists_url":"https://api.github.com/users/airani/gists{/gist_id}","starred_url":"https://api.github.com/users/airani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airani/subscriptions","organizations_url":"https://api.github.com/users/airani/orgs","repos_url":"https://api.github.com/users/airani/repos","events_url":"https://api.github.com/users/airani/events{/privacy}","received_events_url":"https://api.github.com/users/airani/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T19:26:38Z","updated_at":"2017-03-21T19:26:38Z","body":"@Phenie I release v3.1.1 please update to this version and try again"}}
{"actor":{"display_login":"airani"}}