• Hi,

    I’ve been experiencing an issue while logging in for the last two weeks.
    This message is displayed “Error: Cookies are blocked due to unexpected output.”

    In the debug log, the error is
    “PHP Warning: Cannot modify header information – headers already sent in wp-includes/pluggable.php on line 1077”. The line in pluggable.php is “setcookie( $auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure, true );”

    I created a staging site and I’m unable to recreate the issue. I thought because I could not recreate the issue on the staging site, it must be related to caching but caching is disabled by default on siteground staging sites. Their support confirmed it had nothing to do with siteground and they offered no solution.

    The error occurs intermittently. If I wait 5-10 minutes and try again, I may be able to login successfully. It’s quite random. No errors in the console, no duplicate header requests being made from what I can see. I’ve disabled plugins and themes when the error occurs but it still persists. The only thing I haven’t tried is installing a fresh copy of wordpress.I have reinstalled the latest version through the admin panel and it makes no difference.

    Any advice would be greatly appreciated as I’ve spent too much time looking for solutions on support forums.

    Regards,

    Conor Scott

    • This topic was modified 1 year, 5 months ago by conors37.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Is your wordpress version outdated?
    Try deleting all local stored cookies

    Thread Starter conors37

    (@conors37)

    Thanks for you reply @benniledl

    I have the latest version of wordpress. I’ve deleted locally stored cookies multiple times when the error occurs but sadly no luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cookies bocked on Login’ is closed to new replies.