{"id":5855571,"date":"2015-03-03T05:36:49","date_gmt":"2015-03-03T05:36:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/reporting-bug-fix\/"},"modified":"2016-08-22T17:35:21","modified_gmt":"2016-08-22T17:35:21","slug":"reporting-bug-fix","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/reporting-bug-fix\/","title":{"rendered":"Reporting bug fix"},"content":{"rendered":"<p>I was getting &#8220;<em>undefined index &#8216;family_head&#8217;&#8230;<\/em>&#8221; error and discovered some missing check in your plugin; you must replace;<\/p>\n<p><code>update_post_meta($post_id,&#039;family_head&#039;,$_POST[&#039;family_head&#039;]);<\/code><\/p>\n<p>in &#8220;includes\/custom-meta-box.php&#8221; with;<\/p>\n<pre><code>if(isset($_POST[&#039;family_head&#039;]))\n        update_post_meta($post_id,&#039;family_head&#039;,$_POST[&#039;family_head&#039;]);<\/code><\/pre>\n<p>to get rid of such error.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/family-tree\/<\/p>\n","protected":false},"template":"","class_list":["post-5855571","topic","type-topic","status-closed","hentry","topic-tag-bug-fix"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5855571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5855571\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5855571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}