Can set array like $wp_session['colors'][] = 'daa'
-
I just started playing with your code and when I try to add a value like $wp_session[‘colors’][] = ‘daa’ or try to unset a value like that. I’m not sure if it should be supported like that.
When reading the array and use a variable and manipulate that variable there isn’t an issue.
The error is something like: Indirect modification of overloaded property. I found this as a read: https://mwop.net/blog/131-Overloading-arrays-in-PHP-5.2.0.html
https://www.ads-software.com/extend/plugins/wp-session-manager/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Can set array like $wp_session['colors'][] = 'daa'’ is closed to new replies.