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

(This post was last modified: 05-02-2023, 09:33 AM by donpwinston.)

(05-02-2023, 06:03 AM)kenjis Wrote: It seems you don't understand the difference between property and object invocation.

These are different:
PHP Code:
$session->xyz
$session
('xyz'

See https://www.php.net/manual/en/language.o...ect.invoke

Ohh, somewhere along the way I started typing $session('xyz') instead of $session->xyz for some reason. I'll have to go through my version control commits to see when I started doing that. Temporary dyslexia/brain fart.

Sorry.
Simpler is always better
Reply


Messages In This Thread
RE: Object of type CodeIgniter\Session\Session is not callable - by donpwinston - 05-02-2023, 09:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB