Object of type CodeIgniter\Session\Session is not callable |
(04-26-2023, 03:48 PM)kenjis Wrote: Yes, CodeIgniter\Session\Session is not callable. I passed it as a variable in a view function in a controller: PHP Code: print view('header', [ I fixed it by not doing that and used the session('logged_in') function in my view instead. Probably a better way to do it anyway. I have another application where I do the same thing and it does not give me this "session is not callable" error. I don't know what is different, both are using 4.3.3.
Simpler is always better
|
Welcome Guest, Not a member yet? Register Sign In |