{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/3506","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/3506/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/3506/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/3506/events","html_url":"https://github.com/Automattic/jetpack/issues/3506","id":138344466,"number":3506,"title":"Multisite: Fatal error from AtD when bulk-connecting sites","user":{"login":"iandunn","id":484068,"avatar_url":"https://avatars.githubusercontent.com/u/484068?v=3","gravatar_id":"","url":"https://api.github.com/users/iandunn","html_url":"https://github.com/iandunn","followers_url":"https://api.github.com/users/iandunn/followers","following_url":"https://api.github.com/users/iandunn/following{/other_user}","gists_url":"https://api.github.com/users/iandunn/gists{/gist_id}","starred_url":"https://api.github.com/users/iandunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandunn/subscriptions","organizations_url":"https://api.github.com/users/iandunn/orgs","repos_url":"https://api.github.com/users/iandunn/repos","events_url":"https://api.github.com/users/iandunn/events{/privacy}","received_events_url":"https://api.github.com/users/iandunn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/AtD","name":"AtD","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Multisite","name":"Multisite","color":"d4c5f9"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Good%20First%20Bug","name":"[Type] Good First Bug","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T01:05:11Z","updated_at":"2016-03-04T02:21:55Z","closed_at":null,"body":"1) Browse to `wp-admin/network/admin.php?page=jetpack`\r\n2) Select 3+ sites\r\n3) Select `Bulk Actions > Connect`\r\n4) Select `Apply`\r\n\r\nThe sites will be connected until the fatal occurs, and the ones after that won't be.\r\n\r\n> [04-Mar-2016 00:56:20 UTC] PHP Fatal error:  Cannot redeclare AtD_config() (previously declared in wp-content/plugins/jetpack/modules/after-the-deadline.php:74) in wp-content/plugins/jetpack/modules/after-the-deadline.php on line 74"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/192065013","html_url":"https://github.com/Automattic/jetpack/issues/3506#issuecomment-192065013","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/3506","id":192065013,"user":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T02:21:55Z","updated_at":"2016-03-04T02:21:55Z","body":"@iandunn Were any of the sites already connected from the individual site's wp-admin?\r\n\r\nI couldn't duplicate, but I did get of `PHP Warning:  Cannot modify header information - headers already sent by (output started at /srv/www/master/html/wp-includes/script-loader.php:1184) in /srv/www/html/wp-content/plugins/jetpack/class.jetpack.php on line 5475` style messages after one of the subsites had issues.\r\n\r\nNotably, multisite registration just registers each site one-by-one, so in my case, one of the site threw unrelated notices which tripped up everything after it. In either case, seems broken.\r\n\r\n@roccotripaldi Since you're working on the site registration bits right now, just in case there's any connection."}}