Fatal error: Class 'WP_Session' not found…
-
Hi Eric,
First of all, thanks for your plugin! I have some problem to use it, so I need your help.
I understand I need to define$wp_session = WP_Session::get_instance();
inside any session-dependent functions, like you said in other topic.I do it inside a function that add some session variables. It’s ok. I print this variables on the same page to test it, and it’s fine.
On the second page, when I define again the
$wp_session = WP_Session::get_instance();
I get the error Fatal error: Class ‘WP_Session’ not found…
. If I don’t define it, I can’t get the session variables.
What I’m doing wrong?
Thank you very much!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error: Class 'WP_Session' not found…’ is closed to new replies.