Welcome Guest, Not a member yet? Register   Sign In
CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php
#8

If it works, it never should have been a controller in the first place. If you remove the "extends CI_Controller" portion and move the file to /application/libraries/, you could load it using $this->load->library() instead of using require_once().

However, if you were using that file as a controller somewhere else on your site, you probably already broke it by removing the base constructor.
Reply


Messages In This Thread
RE: CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php - by mwhitney - 06-01-2015, 09:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB