Ion Auth – “sess_destroy()” Fatal Error when logging out-Collection of common programming errors

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

Originally posted 2013-11-09 22:40:27.