{"action":"created","issue":{"url":"https://api.github.com/repos/discourse/wp-discourse/issues/85","repository_url":"https://api.github.com/repos/discourse/wp-discourse","labels_url":"https://api.github.com/repos/discourse/wp-discourse/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/discourse/wp-discourse/issues/85/comments","events_url":"https://api.github.com/repos/discourse/wp-discourse/issues/85/events","html_url":"https://github.com/discourse/wp-discourse/issues/85","id":44362409,"number":85,"title":"Plugin is not working with several warnings","user":{"login":"matthieu-lapeyre","id":4503773,"avatar_url":"https://avatars.githubusercontent.com/u/4503773?v=3","gravatar_id":"","url":"https://api.github.com/users/matthieu-lapeyre","html_url":"https://github.com/matthieu-lapeyre","followers_url":"https://api.github.com/users/matthieu-lapeyre/followers","following_url":"https://api.github.com/users/matthieu-lapeyre/following{/other_user}","gists_url":"https://api.github.com/users/matthieu-lapeyre/gists{/gist_id}","starred_url":"https://api.github.com/users/matthieu-lapeyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthieu-lapeyre/subscriptions","organizations_url":"https://api.github.com/users/matthieu-lapeyre/orgs","repos_url":"https://api.github.com/users/matthieu-lapeyre/repos","events_url":"https://api.github.com/users/matthieu-lapeyre/events{/privacy}","received_events_url":"https://api.github.com/users/matthieu-lapeyre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/discourse/wp-discourse/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-09-29T21:57:30Z","updated_at":"2016-05-18T18:34:17Z","closed_at":"2016-05-18T18:34:17Z","body":"Hi,\r\n\r\nI did not manage to make the plugin work on our wordpress 4.0.\r\n\r\nI get several warnings, on a post page:\r\n```console \r\nWarning: First parameter must either be an object or the name of an existing class in \r\n... /wp-content/plugins/wp-discourse-master/wp-discourse.php on line 410\r\n\r\nWarning: file_get_contents(/wordpress.json?\r\nbest=5&min_trust_level=1&min_score=30&min_replies=1&bypass_trust_level_score=50) [function.file-\r\nget-contents]: failed to open stream: No such file or directory in .../wp-content/plugins/wp-discourse-master/wp-discourse.php on line 195\r\n```\r\n\r\nAnd when I update a post after checking the discourse option:\r\n\r\n```console\r\nWarning: Cannot modify header information - headers already sent by (output started at\r\n .../wp-content/plugins/wp-discourse-master/wp-discourse.php:410) in\r\n .../wp-includes/pluggable.php on line 1173\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/discourse/wp-discourse/issues/comments/220118166","html_url":"https://github.com/discourse/wp-discourse/issues/85#issuecomment-220118166","issue_url":"https://api.github.com/repos/discourse/wp-discourse/issues/85","id":220118166,"user":{"login":"retlehs","id":115911,"avatar_url":"https://avatars.githubusercontent.com/u/115911?v=3","gravatar_id":"","url":"https://api.github.com/users/retlehs","html_url":"https://github.com/retlehs","followers_url":"https://api.github.com/users/retlehs/followers","following_url":"https://api.github.com/users/retlehs/following{/other_user}","gists_url":"https://api.github.com/users/retlehs/gists{/gist_id}","starred_url":"https://api.github.com/users/retlehs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retlehs/subscriptions","organizations_url":"https://api.github.com/users/retlehs/orgs","repos_url":"https://api.github.com/users/retlehs/repos","events_url":"https://api.github.com/users/retlehs/events{/privacy}","received_events_url":"https://api.github.com/users/retlehs/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T18:34:17Z","updated_at":"2016-05-18T18:34:17Z","body":"issues like this should be easier debugged after #193 and #189 "}}