{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/sensei/issues/1436","repository_url":"https://api.github.com/repos/Automattic/sensei","labels_url":"https://api.github.com/repos/Automattic/sensei/issues/1436/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/sensei/issues/1436/comments","events_url":"https://api.github.com/repos/Automattic/sensei/issues/1436/events","html_url":"https://github.com/Automattic/sensei/issues/1436","id":152806512,"number":1436,"title":"Errors when duplicating course with lessons","user":{"login":"jeherve","id":426388,"avatar_url":"https://avatars.githubusercontent.com/u/426388?v=3","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":[{"url":"https://api.github.com/repos/Automattic/sensei/labels/[Pri]%20CRITICAL","name":"[Pri] CRITICAL","color":"e84d10"},{"url":"https://api.github.com/repos/Automattic/sensei/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Automattic/sensei/milestones/36","html_url":"https://github.com/Automattic/sensei/milestones/1.9.7","labels_url":"https://api.github.com/repos/Automattic/sensei/milestones/36/labels","id":1748736,"number":36,"title":"1.9.7","description":"","creator":{"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},"open_issues":31,"closed_issues":0,"state":"open","created_at":"2016-05-04T22:10:50Z","updated_at":"2016-05-20T15:07:09Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-03T15:42:27Z","updated_at":"2016-05-20T15:48:15Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n1. Go to the Courses menu\r\n2. Click on \"Duplicate (with lessons)\" for one of the courses.\r\n3. The page reloads with the errors below.\r\n4. A draft course and the corresponding draft lessons are created anyway.\r\n\r\n```\r\nWarning: Missing argument 2 for Sensei_Admin::duplicate_post(), called in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 511 and defined in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 603\r\n\r\nWarning: _() expects exactly 1 parameter, 2 given in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 613\r\n\r\nWarning: _() expects exactly 1 parameter, 2 given in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 613\r\n\r\nWarning: _() expects exactly 1 parameter, 2 given in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 613\r\n\r\nWarning: _() expects exactly 1 parameter, 2 given in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 613\r\n\r\nWarning: _() expects exactly 1 parameter, 2 given in /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php on line 613\r\n\r\nWarning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/woothemes-sensei/includes/class-sensei-admin.php:603) in /wp-includes/pluggable.php on line 1171\r\n```\r\n\r\nReported in 416535-zd-woothemes, and I was able to reproduce"},"comment":{"url":"https://api.github.com/repos/Automattic/sensei/issues/comments/220643275","html_url":"https://github.com/Automattic/sensei/issues/1436#issuecomment-220643275","issue_url":"https://api.github.com/repos/Automattic/sensei/issues/1436","id":220643275,"user":{"login":"lisaleague","id":3607365,"avatar_url":"https://avatars.githubusercontent.com/u/3607365?v=3","gravatar_id":"","url":"https://api.github.com/users/lisaleague","html_url":"https://github.com/lisaleague","followers_url":"https://api.github.com/users/lisaleague/followers","following_url":"https://api.github.com/users/lisaleague/following{/other_user}","gists_url":"https://api.github.com/users/lisaleague/gists{/gist_id}","starred_url":"https://api.github.com/users/lisaleague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisaleague/subscriptions","organizations_url":"https://api.github.com/users/lisaleague/orgs","repos_url":"https://api.github.com/users/lisaleague/repos","events_url":"https://api.github.com/users/lisaleague/events{/privacy}","received_events_url":"https://api.github.com/users/lisaleague/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T15:48:15Z","updated_at":"2016-05-20T15:48:15Z","body":"I have a similar issue quite often also, especially with quizzes - it's hit or miss as to whether the questions come along with the lesson."}}
{"actor":{"display_login":"lisaleague"}}