Support » Fixing WordPress » Help!! Fatal Error – can't access my dashboard

  • Hello,

    My web hosting server got hacked this morning and my site was down. Now, the site is up running again however I get the following error message when I try to access my dashboard:

    Fatal error: Call to undefined function is_user_admin() in /home/yirese5/public_html/wp-admin/index.php on line 27

    Does anyone know how I can resolve this issue? Thanks. My site is

    thanks a lot in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    I’m having the same problem as yireservation. I turned all the plugind off. it didn’t make a difference.

    How would I reset the theme from FTP?

    Thank you for your help.

    ok, found a solution: posted by just_rob @

    side notes: this worked for inmotion hosting and I had to remove the whole section. lines 27,28,29,30,31.


    “Figured it out –

    …Go to /wp-admin/index.php in your file manager for the affected site, open it in the built in editor, locate the is_user_admin block on line 27, remove that and the window screen or whatever (can’t find it again). Save the file, login through the wp-admin. Update the wordpress version.

    It seems when they replaced the wp-admin/index.php with a generic up-to-date version of it which includes a call that isn’t in some versions. By removing it, it doesn’t seem too critical, and updating the WordPress version should make everything “back to normal” ”

    jgarcha thanks for sharing that, fixed my problem without a hassle.



    just got a call from an occasional client, who apparently was hacked the same way (back in september 2011). They hadn’t noticed that they were hacked, but did notice that they couldn’t login (same as above) 2 months later.

    for what is worth, they were hacked with one of those base 64 encode attacks (seeing a lot of these the last couple weeks, wondering if they are related to the facebook porn attacks as many of these target the site feed (so that the site ill look normal, but the feed on facebook or in a reader will display something very different))

    Note, the specific error in the case I was working on seems to have derived from a partial installation of a newer version of wordpress. ergo only a few of the index.php files were replaced/updated as opposed to all of wordpress. Presumably, the hackers attacked the index.php files in many directories, and the host went through and did spot replacements of those files. Since wordpress wasn’t ‘upgraded’ correctly it blocked the login. As simple install of wordpress overwriting the existing installation got me access again.

    Note – I spent a lot of time, deleting files that had been hacked that the host had missed first.

    Please HELP
    Hi There,

    I was trying to change the background in my market theme by activating the custom background in the Theme functions template.

    I put in the code:
    //enable custom background

    and now I cannot access anything, all I get is the following error:

    Fatal error: Call to undefined function background() in /nfs/c08/h01/mnt/115818/domains/ on line 14

    How can I get back into the theme functions page to take out my error code

    many thanks


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help!! Fatal Error – can't access my dashboard’ is closed to new replies.