{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/7907","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/7907/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/7907/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/7907/events","html_url":"https://github.com/Automattic/jetpack/issues/7907","id":262030951,"number":7907,"title":"Sync: warning caused by get_editable_roles","user":{"login":"jeherve","id":426388,"avatar_url":"https://avatars1.githubusercontent.com/u/426388?v=4","gravatar_id":"","url":"https://api.github.com/users/jeherve","html_url":"https://github.com/jeherve","followers_url":"https://api.github.com/users/jeherve/followers","following_url":"https://api.github.com/users/jeherve/following{/other_user}","gists_url":"https://api.github.com/users/jeherve/gists{/gist_id}","starred_url":"https://api.github.com/users/jeherve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeherve/subscriptions","organizations_url":"https://api.github.com/users/jeherve/orgs","repos_url":"https://api.github.com/users/jeherve/repos","events_url":"https://api.github.com/users/jeherve/events{/privacy}","received_events_url":"https://api.github.com/users/jeherve/received_events","type":"User","site_admin":false},"labels":[{"id":387292582,"url":"https://api.github.com/repos/Automattic/jetpack/labels/Sync","name":"Sync","color":"006b75","default":false},{"id":470168579,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Pri]%20BLOCKER","name":"[Pri] BLOCKER","color":"e84d10","default":false},{"id":358137810,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Team]%20Poseidon","name":"[Team] Poseidon","color":"bfdadc","default":false},{"id":70896532,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":{"login":"lezama","id":104869,"avatar_url":"https://avatars0.githubusercontent.com/u/104869?v=4","gravatar_id":"","url":"https://api.github.com/users/lezama","html_url":"https://github.com/lezama","followers_url":"https://api.github.com/users/lezama/followers","following_url":"https://api.github.com/users/lezama/following{/other_user}","gists_url":"https://api.github.com/users/lezama/gists{/gist_id}","starred_url":"https://api.github.com/users/lezama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lezama/subscriptions","organizations_url":"https://api.github.com/users/lezama/orgs","repos_url":"https://api.github.com/users/lezama/repos","events_url":"https://api.github.com/users/lezama/events{/privacy}","received_events_url":"https://api.github.com/users/lezama/received_events","type":"User","site_admin":false},"assignees":[{"login":"lezama","id":104869,"avatar_url":"https://avatars0.githubusercontent.com/u/104869?v=4","gravatar_id":"","url":"https://api.github.com/users/lezama","html_url":"https://github.com/lezama","followers_url":"https://api.github.com/users/lezama/followers","following_url":"https://api.github.com/users/lezama/following{/other_user}","gists_url":"https://api.github.com/users/lezama/gists{/gist_id}","starred_url":"https://api.github.com/users/lezama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lezama/subscriptions","organizations_url":"https://api.github.com/users/lezama/orgs","repos_url":"https://api.github.com/users/lezama/repos","events_url":"https://api.github.com/users/lezama/events{/privacy}","received_events_url":"https://api.github.com/users/lezama/received_events","type":"User","site_admin":false},{"login":"enejb","id":115071,"avatar_url":"https://avatars2.githubusercontent.com/u/115071?v=4","gravatar_id":"","url":"https://api.github.com/users/enejb","html_url":"https://github.com/enejb","followers_url":"https://api.github.com/users/enejb/followers","following_url":"https://api.github.com/users/enejb/following{/other_user}","gists_url":"https://api.github.com/users/enejb/gists{/gist_id}","starred_url":"https://api.github.com/users/enejb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enejb/subscriptions","organizations_url":"https://api.github.com/users/enejb/orgs","repos_url":"https://api.github.com/users/enejb/repos","events_url":"https://api.github.com/users/enejb/events{/privacy}","received_events_url":"https://api.github.com/users/enejb/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/86","html_url":"https://github.com/Automattic/jetpack/milestone/86","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/86/labels","id":2740291,"number":86,"title":"5.4","description":"","creator":{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars2.githubusercontent.com/u/1126811?v=4","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":36,"state":"open","created_at":"2017-09-01T21:45:53Z","updated_at":"2017-10-03T18:55:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-10-02T09:40:45Z","updated_at":"2017-10-03T18:55:48Z","closed_at":"2017-10-03T18:55:48Z","author_association":"MEMBER","body":"The changes introduced in #7838 seem to have introduced a PHP warning as well:\r\n\r\n```\r\nWarning: call_user_func() expects parameter 1 to be a valid callback, function ‘get_editable_roles’ not found or invalid function name in /var/www/wp-content/plugins/jetpack/sync/class.jetpack-sync-module-callables.php on line 89 [.../wp-json/jetpack/v4/settings] [get_callable(), wp-content/plugins/jetpack/sync/class.jetpack-sync-module-callables.php:81 array_map(), wp-content/plugins/jetpack/sync/class.jetpack-sync-module-callables.php:174 get_all_callables(), wp-includes/class-wp-hook.php:300 expand_callables(), wp-includes/plugin.php:203 apply_filters(‘Array’), wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php:148 apply_filters(‘jetpack_sync_before_send_jetpack_full_sync_callables’), wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php:196 get_items_to_send(), wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php:101 do_sync_for_queue(), wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php:65 do_sync_and_set_delays(), wp-includes/class-wp-hook.php:298 do_full_sync(), wp-includes/class-wp-hook.php:323 apply_filters(‘1’), wp-includes/plugin.php:453 do_action(‘Array’), wp-includes/load.php:677 do_action(‘shutdown’), shutdown_action_hook()]\r\n```\r\n\r\ncc @lezama @enejb "},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/333943505","html_url":"https://github.com/Automattic/jetpack/issues/7907#issuecomment-333943505","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/7907","id":333943505,"user":{"login":"jeherve","id":426388,"avatar_url":"https://avatars1.githubusercontent.com/u/426388?v=4","gravatar_id":"","url":"https://api.github.com/users/jeherve","html_url":"https://github.com/jeherve","followers_url":"https://api.github.com/users/jeherve/followers","following_url":"https://api.github.com/users/jeherve/following{/other_user}","gists_url":"https://api.github.com/users/jeherve/gists{/gist_id}","starred_url":"https://api.github.com/users/jeherve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeherve/subscriptions","organizations_url":"https://api.github.com/users/jeherve/orgs","repos_url":"https://api.github.com/users/jeherve/repos","events_url":"https://api.github.com/users/jeherve/events{/privacy}","received_events_url":"https://api.github.com/users/jeherve/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T18:55:48Z","updated_at":"2017-10-03T18:55:48Z","author_association":"MEMBER","body":"Fixed in #7909"}}
{"actor":{"display_login":"jeherve"}}