I am getting a fatal error in a CI app that I just moved from a php4 shared host to a php5 shared host.
Fatal error: Call to a member function set_userdata() on a non-object in /home/chuck_ravenna/bob.ravennainteractive.com/system/application/helpers/authenticate_helper.php on line 13
Code in full located in the link below
I am trying to figure out if the php version could be the issue. The site runs fine on the old server, and the new server doesn't have php4 as an option.
The specific code line thats breaking is: