WordPress.org

Ready to get started?Download WordPress

Forums

Help!! Fatal Error - can't access my dashboard (8 posts)

  1. yireservation
    Member
    Posted 2 years ago #

    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 yireservation.com

    thanks a lot in advance.

  2. Rebecca Diamond
    Member
    Posted 2 years ago #

  3. jgarcha
    Member
    Posted 2 years ago #

    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.

  4. jgarcha
    Member
    Posted 2 years ago #

    ok, found a solution: posted by just_rob @
    http://www.reddit.com/r/web_design/comments/kqx8/every_site_hosted_by_inmotion_has_been_hacked/

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

    just_rob:

    "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" "

  5. nando415
    Member
    Posted 2 years ago #

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

  6. brettbum
    Member
    Posted 2 years ago #

    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))

  7. brettbum
    Member
    Posted 2 years ago #

    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.

  8. antonsphuket@yahoo.com
    Member
    Posted 2 years ago #

    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
    add.custom.backround();

    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/phonebling.com.au/html/wp-content/themes/mk4/functions.php on line 14

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

    many thanks

    Anton

Topic Closed

This topic has been closed to new replies.

About this Topic