I receive this error when I try to activate the Bad Behavior plugin in WordPress:

PHP Warning:  Unknown: open(D:Tempphpsession\sess_pvu0f81uuqt7l8b8b2l2e380p3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (D:Tempphpsession) in Unknown on line 0

I realized I didn’t have a ‘Temp’ folder so I created one along with the correct subfolders and placed it in the root directory of my site. Even after logging out and logging back into WordPress and clearing my cookies, I still get the same error. Does anyone know how to solve this issue?

I’m on a Godaddy Windows shared hosting plan. I’m using the latest version of WordPress (4.7.4) and all of my plugins are up to date.

Read more here: Failed To Write Session Data error in WordPress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: