{"action":"opened","issue":{"url":"https://api.github.com/repos/IserveU/IserveU/issues/143","labels_url":"https://api.github.com/repos/IserveU/IserveU/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/IserveU/IserveU/issues/143/comments","events_url":"https://api.github.com/repos/IserveU/IserveU/issues/143/events","html_url":"https://github.com/IserveU/IserveU/issues/143","id":111271594,"number":143,"title":"upload gov't issue id","user":{"login":"jalafel","id":12400507,"avatar_url":"https://avatars.githubusercontent.com/u/12400507?v=3","gravatar_id":"","url":"https://api.github.com/users/jalafel","html_url":"https://github.com/jalafel","followers_url":"https://api.github.com/users/jalafel/followers","following_url":"https://api.github.com/users/jalafel/following{/other_user}","gists_url":"https://api.github.com/users/jalafel/gists{/gist_id}","starred_url":"https://api.github.com/users/jalafel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalafel/subscriptions","organizations_url":"https://api.github.com/users/jalafel/orgs","repos_url":"https://api.github.com/users/jalafel/repos","events_url":"https://api.github.com/users/jalafel/events{/privacy}","received_events_url":"https://api.github.com/users/jalafel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T21:09:11Z","updated_at":"2015-10-13T21:09:11Z","closed_at":null,"body":"File upload works despite error returns. \r\n\r\nTwo errors: \r\n\r\n1)  \"Call to undefined method Illuminate\\Database\\Eloquent\\Collection::delete()\"\r\n (Then the file is uploaded) \r\nOn second submit:\r\n2) \"SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row\r\n\r\nIf you comment out the line 149 of UserController that calls delete, this error is thrown instead: \r\n\r\nArgument 1 passed to Illuminate\\Database\\Grammar::columnize() must be of the type array, integer given. "}}