{"id":761,"date":"2022-08-30T15:06:44","date_gmt":"2022-08-30T15:06:44","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/ion-auth-sess_destroy-fatal-error-when-logging-out-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:06:44","modified_gmt":"2022-08-30T15:06:44","slug":"ion-auth-sess_destroy-fatal-error-when-logging-out-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/ion-auth-sess_destroy-fatal-error-when-logging-out-collection-of-common-programming-errors\/","title":{"rendered":"Ion Auth &#8211; &ldquo;sess_destroy()&rdquo; Fatal Error when logging out-Collection of common programming errors"},"content":{"rendered":"<p>I have downloaded the very latest version of IonAuth for Codeigniter on GitHub. It is a very good library however when I try to logout after logging in I get the following error (which I&#8217;ve had in previous builds) &#8211; I know I can just comment the lines out but is there a reason for the errors?<\/p>\n<pre><code>Fatal error: Call to undefined method CI_Session::sess_destroy() ....\\Ion_auth.php on line 381\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:40:27. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have downloaded the very latest version of IonAuth for Codeigniter on GitHub. It is a very good library however when I try to logout after logging in I get the following error (which I&#8217;ve had in previous builds) &#8211; I know I can just comment the lines out but is there a reason for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-761","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=761"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/761\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}