{"id":6031593,"date":"2015-04-19T17:40:58","date_gmt":"2015-04-19T17:40:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/bug-report-49\/"},"modified":"2016-08-24T14:56:14","modified_gmt":"2016-08-24T14:56:14","slug":"bug-report-49","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/bug-report-49\/","title":{"rendered":"Bug report"},"content":{"rendered":"<p>Hello everybody, I must sadly report a bug concerning the uninstalling process of Chapters. If you try to suppress Chapters, you might raise an error message.<br \/>\nAs a matter of fact, it requires to change a single line of code inside the &#8216;chapitres.php&#8217; file;<br \/>\nline 50, instead of:<\/p>\n<p>\tregister_uninstall_hook( __FILE__, array( &#8216;chapitres_database&#8217;, &#8220;<strong>chapitres_DB_desinstall<\/strong>&#8221; ) );<\/p>\n<p>please paste:<\/p>\n<p>\tregister_uninstall_hook( __FILE__, array( &#8216;chapitres_database&#8217;, <strong>array( &amp;$this,&#8221;chapitres_DB_desinstall&#8221;)<\/strong> ) );<\/p>\n<p>Of course the next version will not include this bug.<br \/>\nThanks for your comprehension, yours faithfully,<\/p>\n<p>F.SEVERIN.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/chapters\/<\/p>\n","protected":false},"template":"","class_list":["post-6031593","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6031593","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\/6031593\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6031593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}