{"action":"opened","issue":{"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/89","labels_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/89/comments","events_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/89/events","html_url":"https://github.com/Yoast/wpseo-woocommerce/issues/89","id":127459820,"number":89,"title":"Error messages while getting options","user":{"login":"diedexx","id":5352634,"avatar_url":"https://avatars.githubusercontent.com/u/5352634?v=3","gravatar_id":"","url":"https://api.github.com/users/diedexx","html_url":"https://github.com/diedexx","followers_url":"https://api.github.com/users/diedexx/followers","following_url":"https://api.github.com/users/diedexx/following{/other_user}","gists_url":"https://api.github.com/users/diedexx/gists{/gist_id}","starred_url":"https://api.github.com/users/diedexx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diedexx/subscriptions","organizations_url":"https://api.github.com/users/diedexx/orgs","repos_url":"https://api.github.com/users/diedexx/repos","events_url":"https://api.github.com/users/diedexx/events{/privacy}","received_events_url":"https://api.github.com/users/diedexx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T14:39:29Z","updated_at":"2016-01-19T14:39:29Z","closed_at":null,"body":"I got these error messages while viewing a post.\r\n\r\n`Warning: Invalid argument supplied for foreach() in /srv/www/wordpress-develop/src/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 152`\r\n\r\n`Notice: Undefined index: breadcrumbs-enable in /srv/www/wordpress-develop/src/wp-content/plugins/wpseo-woocommerce/wpseo-woocommerce.php on line 124`\r\n\r\nSomething similar happend in Video SEO:\r\nhttps://github.com/Yoast/wpseo-video/pull/214\r\n\r\nEasily fixable by calling WPSEO_Options::get_instance() before retrieving any options. However, we might want to solve this using a different approach."}}