I have a WordPress website that I recently discovered had this error on the login page:
ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.
I can only access the login page from wp-login.php
, since /wp-admin/
displays a blank white page.
I've searched the web and tried many things with no success:
Removing
?>
and space at end of thefunctions.php
Ensuring both
functions.php
andwp-config.php
had no spaces at beginning or end of fileOpening
wp-config.php
andfunctions.php
in Notepad++ and converting to UTF-8 (people recommend 'without BOM' but that is only an option in the newest version of Notepad++ - I'm guessing UTF-8 does that now)I've set
WP_DEBUG
to true and have received no errors indebug.log
, except for 2 that relate to when I hadn't fully uploaded some files. That particular error mentionednav-menu.php
; this confirmed that it is reporting errors, just not related to my login issuesI renamed each plugin folder with
_tmp
at the end to try and rule out any plugins causing the problemI also renamed the plugins folder to rule out all plugins at the same time
Given these things I've tried, and that I'm not receiving any PHP errors, what else could I try?
/wp-login.php
URL.