• I am hosting a site for a client. It has been running fine for years. No changes to the theme or additional plug-ins added.

    He informed me that he last logged in a week ago to make some minor changes (he adds links and some images).

    Today the wp-admin and wp-login pages are blank.

    I immediately checked to see if it was the theme or the plugins (even though neither have been a problem in the past at all) and the problem persisted.

    All of the other research I did suggested either a coding issue in the functions.php or the config.php files. I searched both for the issues cited as problematic but found none of them. I even replaced both files with fresh ones from the source WordPress install folder on my desktop. The issue continues.

    Strangely I can get the login panel to appear if I go directly to the wp-login.php address in my browser but when you login it just redirects you to the wp-login.php page and there is also this error message:

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

    The documentation of course refers to the config.php error but as I stated before I checked the file and found no such errors in the code.

    Any other ideas as to what is causing it?

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m going to throw out the simplest possible solution, maybe you have already tried it. Have you tried deleting your cookies from your browser? I swear, I won’t suggest that you make sure your computer is turned on.

    I’m having the same issue, I updated some plugins and suddenly WSOD.

    I hear there was a recent update with Chrome that is causing similar problems for people. Could either of you be using Chrome? If so, try it on another browser and see if it works.

    Usually when something like this happens (WSOD as you put) there is a problem with the code somewhere and WordPress fails to load.

    If you check your network console, are you seeing that the page is returning as an error?

    Can you check your servers error log for anything being thrown in the background?

    As for your website not being able to set cookies because of unexpected content, have you performed any checks on your files / systems to see if the website has been hacked?

    A lot of WordPress infiltrations include injecting code into your files so that someone can hit it remotely to run commands

    Also, just noticed this person had a similar issue with the cookie error
    Error Cookies are blocked due to unexpected output

    My issue was caused by a broken plugin.

    Same issue, still have not been able to resolve it.

    Thread Starter anthonyslewis

    (@anthonyslewis)

    @joey Ricketts Clearing the cookies did nothing. And I have the same issue within Firefox as well so it is not a Chrome issue.

    @james I’m not actually sure where I would go to check my network console. I am however looking for the error log to see if I can find anything in there.

    However, I do not believe the site was hacked. At least I can’t seem to find any evidence that it was.

    I believe the network console he is referring to is in the devtools window.

    Right click on the page, click ‘Inspect Element’, then on the toolbar that pops up at the bottom of the page click on ‘Network’. That should be returning an error if there is an error within the network of the page.

    In Windows I believe you can just press the F12 button as well.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blank wp-admin and wp-login Page’ is closed to new replies.