Tech

Wordpress Error: Cookies are blocked due to unexpected output

Hi,

Please help! I have tried to log in to the dashboard for my website, but I can’t able to login it gives me an error message saying:

ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.

image

I visited their documentation but it wasn’t helpful. I could find any resolution related to my error. I can guarantee cookies are not blocked for my website but I don’t know why I am getting the above error while logging.

If anyone could help, that would be great. I’ve been unable to log in for several months now.

Thank you.

3 Likes

Hi @Ashlay,

Please follow the below troubleshooting steps and let us know if this was helpful.

Try manually resetting your plugins No Dashboard access required. If that resolves the issue, reactivate each one individually until you find the cause.

If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/, and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

2 Likes

I hope your issue is solved by following @tjnihal suggestion. I have one advice, Make sure to turn off debugging in wp-config.php file. If you leave it on, it will quickly inflate debug.log. It should be turned off unless necessary for troubleshooting.

1 Like