{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/5048","labels_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5048/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5048/comments","events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5048/events","html_url":"https://github.com/DoSomething/phoenix/issues/5048","id":105601599,"number":5048,"title":"Errors on campaign node_save() as admin","user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DoSomething/phoenix/labels/@bender","name":"@bender","color":"009800"},{"url":"https://api.github.com/repos/DoSomething/phoenix/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/DoSomething/phoenix/labels/priority-high","name":"priority-high","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DoSomething/phoenix/milestones/31","html_url":"https://github.com/DoSomething/phoenix/milestones/Global%20Campaign%20Creation/Translation","labels_url":"https://api.github.com/repos/DoSomething/phoenix/milestones/31/labels","id":1191451,"number":31,"title":"Global Campaign Creation/Translation","description":"Spanish, Portuguese, US English, and Global English + country specific URLS. Enabling Field IDs in the admin experience.","creator":{"login":"mikefantini","id":6330971,"avatar_url":"https://avatars.githubusercontent.com/u/6330971?v=3","gravatar_id":"","url":"https://api.github.com/users/mikefantini","html_url":"https://github.com/mikefantini","followers_url":"https://api.github.com/users/mikefantini/followers","following_url":"https://api.github.com/users/mikefantini/following{/other_user}","gists_url":"https://api.github.com/users/mikefantini/gists{/gist_id}","starred_url":"https://api.github.com/users/mikefantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikefantini/subscriptions","organizations_url":"https://api.github.com/users/mikefantini/orgs","repos_url":"https://api.github.com/users/mikefantini/repos","events_url":"https://api.github.com/users/mikefantini/events{/privacy}","received_events_url":"https://api.github.com/users/mikefantini/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":16,"state":"open","created_at":"2015-07-02T19:57:27Z","updated_at":"2015-09-10T21:45:31Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-09T13:56:07Z","updated_at":"2015-09-11T15:53:42Z","closed_at":null,"body":"`Warning: array_key_exists(): The first argument should be either a string or an integer in drupal_array_get_nested_value() (line 6774 of /var/www/dev.dosomething.org/html/includes/common.inc).`\r\n\r\n\r\nwhen you save a campaign node as a brazil/mexico admin getting tons of these errors on the global branch.\r\nthis seems to be the offending code\r\n```\r\n    foreach ($fields as $field_name => $field) {\r\n      $field_info = field_info_field($field_name);\r\n      // If the field is not translatable disable access\r\n      if (!$field_info['translatable']) {\r\n        $form[$field_name]['#access'] = FALSE;\r\n      }\r\n    }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments/139582916","html_url":"https://github.com/DoSomething/phoenix/issues/5048#issuecomment-139582916","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5048","id":139582916,"user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T15:53:42Z","updated_at":"2015-09-11T15:53:42Z","body":"the field has to exist though, these are the fields which have been marked as translated. I can double check this but I dont think its the problem.\r\n\r\nIll check the old issues you linked and see how people closed em!"}}