Search code examples
phpcodeigniterion-auth

Ion Auth - "sess_destroy()" Fatal Error when logging out


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've had in previous builds) - I know I can just comment the lines out but is there a reason for the errors?

Fatal error: Call to undefined method CI_Session::sess_destroy() ....\Ion_auth.php on line 381

Solution

  • I just kept them commented out.. seems to wrk