wordpress_sec_ cookie problem
-
Hello,
Sometimes, I cannot login to wordpress and I don’t have an error message.
Deleting the cookie from the (chrome) inspector doesn’t sole the problem BUT, if I open the “Clear browsing data” and delete the wordpress_sec_XXXX cookies manually, then I can login again !It seems like WordPress refuses to log me in because of the wordpress_sec_ cookies.
– My website is in HTTPS
-It can happens randomly but I can reproduce the same behaviour by login on a local environment with the domain pointing to it in my host file, then change my host file and try to login then from the productive environment.
– I tried to deactivate every plugins and it doesn’t change anything.
– I tried to force the COOKIEPATH, COOKIE_DOMAIN, ADMIN_COOKIE_PATH, SITECOOKIEPATH but no results neither.
– I search the forum and could find similar behaviour but the solutions never fixed my problem
– forcing a wp_clear_auth_cookie() before login does not fix the problem.
– I added the FORCE_SSL_LOGIN and FORCE_SSL_ADMIN as true did not change anything
– Manually deleting the two wordpress_sec cookies fixes the problemAnyone has any idea ?
thank you,
The topic ‘wordpress_sec_ cookie problem’ is closed to new replies.