{"action":"closed","issue":{"url":"https://api.github.com/repos/ThemeAvenue/Awesome-Support/issues/66","labels_url":"https://api.github.com/repos/ThemeAvenue/Awesome-Support/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/ThemeAvenue/Awesome-Support/issues/66/comments","events_url":"https://api.github.com/repos/ThemeAvenue/Awesome-Support/issues/66/events","html_url":"https://github.com/ThemeAvenue/Awesome-Support/issues/66","id":55018891,"number":66,"title":"Add product - php error messages","user":{"login":"Ninos","id":1012403,"avatar_url":"https://avatars.githubusercontent.com/u/1012403?v=3","gravatar_id":"","url":"https://api.github.com/users/Ninos","html_url":"https://github.com/Ninos","followers_url":"https://api.github.com/users/Ninos/followers","following_url":"https://api.github.com/users/Ninos/following{/other_user}","gists_url":"https://api.github.com/users/Ninos/gists{/gist_id}","starred_url":"https://api.github.com/users/Ninos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ninos/subscriptions","organizations_url":"https://api.github.com/users/Ninos/orgs","repos_url":"https://api.github.com/users/Ninos/repos","events_url":"https://api.github.com/users/Ninos/events{/privacy}","received_events_url":"https://api.github.com/users/Ninos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-21T13:36:06Z","updated_at":"2015-01-23T05:04:02Z","closed_at":"2015-01-23T05:04:02Z","body":"If you add a custom product, you get a lot of error messages. Here some of them:\r\n```\r\nNotice: Trying to get property of non-object in /wp-content/plugins/awesome-support/includes/class-product-sync.php on line 451\r\nNotice: Undefined property: stdClass::$post_title in /wp-content/plugins/awesome-support/includes/class-product-sync.php on line 292\r\nNotice: Undefined property: stdClass::$post_name in /wp-content/plugins/awesome-support/includes/class-product-sync.php on line 293\r\nNotice: Undefined property: stdClass::$post_content in /wp-content/plugins/awesome-support/includes/class-product-sync.php on line 297\r\nNotice: Object of class stdClass could not be converted to int in /wp-includes/taxonomy.php on line 3801\r\nWarning: Illegal offset type in /wp-includes/taxonomy.php on line 3802\r\nWarning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/awesome-support/includes/class-product-sync.php:292) in /wp-includes/class-wp-ajax-response.php on line 189\r\n```\r\n\r\nOn your dev server I would always enable the wp_debug mode :D\r\n\r\nWordpress 4.1 + Woocommerce"}}