Welcome Guest, Not a member yet? Register   Sign In
Object of type CodeIgniter\Session\Session is not callable
#1

(This post was last modified: 04-26-2023, 02:23 PM by donpwinston.)

Can anyone suggest why this error would occur?

I'm referencing a view parameter like this:

Code:
Object <?php if (!isset($session) || !$session('logged_in')): ?>

The error is:

Object of type CodeIgniter\Session\Session is not callable

I recently upgraded to 4.3.3 but maybe I did something else also.
Simpler is always better
Reply


Messages In This Thread
Object of type CodeIgniter\Session\Session is not callable - by donpwinston - 04-26-2023, 02:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB