SESSION START ERROR

Support forumSESSION START ERROR
jasimp Staff asked 4 years ago
Hi i am getting a session start error (below) in the main site once i activated the plug in   Warning: session_start(): open(/var/cpanel/php/sessions/ea3/sess_5895dabe7ff0bd228e9080fd1ffa7783, O_RDWR) failed: No such file or directory (2) in /home/meducation/public_html/wp-content/plugins/easy-appointments/src/frontend.php on line 73 Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea3) in /home/meducation/public_html/wp-content/plugins/easy-appointments/src/frontend.php on line 73   can any one help me how to solve this issue   Many thanks 
1 Answers
Nikola Loncar Staff answered 4 years ago
Hi, can you please open plugin file editor and put that line under comment. Like this: // session_start(); Best regards, Nikola
jasimp Staff replied 4 years ago

i am sorry
this is not clear for me
the below is the code within plug in file

// start session
if (!headers_sent() && !session_id()) {
session_start();
}

and please advice me which line i have to add?

you mean like below

// start session
if (!headers_sent() && !session_id()) {
// session_start();
}

please advice