{"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2781","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2781/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2781/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2781/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/2781","id":98465615,"number":2781,"title":"Multiple plugin conflict breaks WooCommerce REST API","user":{"login":"douglsmith","id":2446310,"avatar_url":"https://avatars.githubusercontent.com/u/2446310?v=3","gravatar_id":"","url":"https://api.github.com/users/douglsmith","html_url":"https://github.com/douglsmith","followers_url":"https://api.github.com/users/douglsmith/followers","following_url":"https://api.github.com/users/douglsmith/following{/other_user}","gists_url":"https://api.github.com/users/douglsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/douglsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglsmith/subscriptions","organizations_url":"https://api.github.com/users/douglsmith/orgs","repos_url":"https://api.github.com/users/douglsmith/repos","events_url":"https://api.github.com/users/douglsmith/events{/privacy}","received_events_url":"https://api.github.com/users/douglsmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/compatibility","name":"compatibility","color":"f7c6c7"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/wait%20for%20feedback","name":"wait for feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"Rarst","id":737584,"avatar_url":"https://avatars.githubusercontent.com/u/737584?v=3","gravatar_id":"","url":"https://api.github.com/users/Rarst","html_url":"https://github.com/Rarst","followers_url":"https://api.github.com/users/Rarst/followers","following_url":"https://api.github.com/users/Rarst/following{/other_user}","gists_url":"https://api.github.com/users/Rarst/gists{/gist_id}","starred_url":"https://api.github.com/users/Rarst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rarst/subscriptions","organizations_url":"https://api.github.com/users/Rarst/orgs","repos_url":"https://api.github.com/users/Rarst/repos","events_url":"https://api.github.com/users/Rarst/events{/privacy}","received_events_url":"https://api.github.com/users/Rarst/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-31T20:28:34Z","updated_at":"2015-08-01T19:25:39Z","closed_at":null,"body":"I've run into a case where the REST API built into WooCommerce is returning an error when both Yoast SEO 2.3.2 (free or premium) and [JSON Basic Authentication](https://github.com/WP-API/Basic-Auth) 0.1 from the WordPress REST API project are active. The error does not occur when only one of these plugins is active.\r\n\r\n> Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/mysite/public_html/wp-includes/link-template.php on line 358\r\n\r\nI've confirmed the error on a new test site with a fresh install of WordPress 4.2.3, WooCommerce 2.3.13, and the Twenty Fifteen theme. The only plugins active are WooCommerce and the two mentioned above.\r\n\r\nI first started an issue over at woothemes/woocommerce#8694. There is more detail and troubleshooting notes over there."},"comment":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments/126947809","html_url":"https://github.com/Yoast/wordpress-seo/issues/2781#issuecomment-126947809","issue_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/2781","id":126947809,"user":{"login":"douglsmith","id":2446310,"avatar_url":"https://avatars.githubusercontent.com/u/2446310?v=3","gravatar_id":"","url":"https://api.github.com/users/douglsmith","html_url":"https://github.com/douglsmith","followers_url":"https://api.github.com/users/douglsmith/followers","following_url":"https://api.github.com/users/douglsmith/following{/other_user}","gists_url":"https://api.github.com/users/douglsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/douglsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglsmith/subscriptions","organizations_url":"https://api.github.com/users/douglsmith/orgs","repos_url":"https://api.github.com/users/douglsmith/repos","events_url":"https://api.github.com/users/douglsmith/events{/privacy}","received_events_url":"https://api.github.com/users/douglsmith/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T19:25:39Z","updated_at":"2015-08-01T19:25:39Z","body":"I have tested the patch from @claudiosmweb and can confirm that it has solved the problem on my sites."}}