Illegal offset type in unset (Session.php - Line 727) |
Got a lot of warnings in my log with:
PHP Code: Severity: Warning --> Illegal offset type in unset C:\var\data\localweb\gv\system\libraries\Session\Session.php 727
What do you try to unset from session ?
The Key must be string or array of strings. Its most likely that you have send either NULL or other type which can't be unset .. Best VPS Hosting : Digital Ocean
(04-03-2015, 09:55 AM)sv3tli0 Wrote: What do you try to unset from session ? That's right. Doing a $this->session->unset_userdata($data); where $data array contains keys that doesn't exist, throw this warning. Thanks a lot! ![]() |
Welcome Guest, Not a member yet? Register Sign In |