{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/437","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/437/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/437/events","html_url":"https://github.com/Automattic/jetpack/issues/437","id":30545825,"number":437,"title":"Gallery Widget Fails Under WordPress 3.9-beta3","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},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Extra%20Sidebar%20Widgets","name":"Extra Sidebar Widgets","color":"c7def8"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Needs%20Patch","name":"Needs Patch","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-03-31T20:23:42Z","updated_at":"2015-09-04T12:22:07Z","closed_at":"2014-04-01T18:52:12Z","body":"When attempting to add images to the Gallery widget in Jetpack, no media selector is shown with following error in console:\r\n\r\n`TypeError: media.controller.WidgetGalleryEdit is not a constructor`"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/137721178","html_url":"https://github.com/Automattic/jetpack/issues/437#issuecomment-137721178","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/437","id":137721178,"user":{"login":"Vixxd","id":5870958,"avatar_url":"https://avatars.githubusercontent.com/u/5870958?v=3","gravatar_id":"","url":"https://api.github.com/users/Vixxd","html_url":"https://github.com/Vixxd","followers_url":"https://api.github.com/users/Vixxd/followers","following_url":"https://api.github.com/users/Vixxd/following{/other_user}","gists_url":"https://api.github.com/users/Vixxd/gists{/gist_id}","starred_url":"https://api.github.com/users/Vixxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vixxd/subscriptions","organizations_url":"https://api.github.com/users/Vixxd/orgs","repos_url":"https://api.github.com/users/Vixxd/repos","events_url":"https://api.github.com/users/Vixxd/events{/privacy}","received_events_url":"https://api.github.com/users/Vixxd/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T12:22:07Z","updated_at":"2015-09-04T12:22:07Z","body":"I am still getting this problem on 4.3 - clicking 'choose images' does nothing, and trying to preview a page with an empty gallery prompts the following error:\r\n\r\n\r\nWarning: trim() expects parameter 1 to be string, array given in /home/.../public_html/wordpress/wp-content/plugins/jetpack/modules/widgets/gallery.php on line 297\r\n\r\nWarning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/wordpress/wp-content/plugins/jetpack/modules/widgets/gallery.php:297) in /home/.../public_html/wordpress/wp-includes/pluggable.php on line 1207"}}